Package org.eclipse.xtext.parser.antlr

Examples of org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken.merge()


                    // ../org.xvr.S3DEditor/src-gen/org/xvr/parser/antlr/internal/InternalS3DParser.g:3623:10: this_FLOAT_1= RULE_FLOAT
                    {
                    this_FLOAT_1=(Token)match(input,RULE_FLOAT,FOLLOW_RULE_FLOAT_in_ruleconstant7919); if (state.failed) return current;
                    if ( state.backtracking==0 ) {

                          current.merge(this_FLOAT_1);
                         
                    }
                    if ( state.backtracking==0 ) {
                      
                          newLeafNode(this_FLOAT_1, grammarAccess.getConstantAccess().getFLOATTerminalRuleCall_1());
View Full Code Here


                    // ../org.xvr.S3DEditor/src-gen/org/xvr/parser/antlr/internal/InternalS3DParser.g:3631:10: this_INT_2= RULE_INT
                    {
                    this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleconstant7945); if (state.failed) return current;
                    if ( state.backtracking==0 ) {

                          current.merge(this_INT_2);
                         
                    }
                    if ( state.backtracking==0 ) {
                      
                          newLeafNode(this_INT_2, grammarAccess.getConstantAccess().getINTTerminalRuleCall_2());
View Full Code Here

                    // ../org.xvr.S3DEditor/src-gen/org/xvr/parser/antlr/internal/InternalS3DParser.g:3640:2: kw= KEYWORD_45
                    {
                    kw=(Token)match(input,KEYWORD_45,FOLLOW_KEYWORD_45_in_ruleconstant7969); if (state.failed) return current;
                    if ( state.backtracking==0 ) {

                              current.merge(kw);
                              newLeafNode(kw, grammarAccess.getConstantAccess().getTrueKeyword_3());
                         
                    }

                    }
View Full Code Here

                    // ../org.xvr.S3DEditor/src-gen/org/xvr/parser/antlr/internal/InternalS3DParser.g:3647:2: kw= KEYWORD_48
                    {
                    kw=(Token)match(input,KEYWORD_48,FOLLOW_KEYWORD_48_in_ruleconstant7988); if (state.failed) return current;
                    if ( state.backtracking==0 ) {

                              current.merge(kw);
                              newLeafNode(kw, grammarAccess.getConstantAccess().getFalseKeyword_4());
                         
                    }

                    }
View Full Code Here

                case 1 :
                    // ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:241:2: kw= 'title'
                    {
                    kw=(Token)match(input,11,FOLLOW_11_in_ruleKeywordedID562);

                            current.merge(kw);
                            newLeafNode(kw, grammarAccess.getKeywordedIDAccess().getTitleKeyword_0());
                       

                    }
                    break;
View Full Code Here

                case 2 :
                    // ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:248:2: kw= 'platform'
                    {
                    kw=(Token)match(input,12,FOLLOW_12_in_ruleKeywordedID581);

                            current.merge(kw);
                            newLeafNode(kw, grammarAccess.getKeywordedIDAccess().getPlatformKeyword_1());
                       

                    }
                    break;
View Full Code Here

                case 3 :
                    // ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:255:2: kw= 'resource'
                    {
                    kw=(Token)match(input,13,FOLLOW_13_in_ruleKeywordedID600);

                            current.merge(kw);
                            newLeafNode(kw, grammarAccess.getKeywordedIDAccess().getResourceKeyword_2());
                       

                    }
                    break;
View Full Code Here

                case 4 :
                    // ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:262:2: kw= 'section'
                    {
                    kw=(Token)match(input,14,FOLLOW_14_in_ruleKeywordedID619);

                            current.merge(kw);
                            newLeafNode(kw, grammarAccess.getKeywordedIDAccess().getSectionKeyword_3());
                       

                    }
                    break;
View Full Code Here

                case 5 :
                    // ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:269:2: kw= 'abstract'
                    {
                    kw=(Token)match(input,15,FOLLOW_15_in_ruleKeywordedID638);

                            current.merge(kw);
                            newLeafNode(kw, grammarAccess.getKeywordedIDAccess().getAbstractKeyword_4());
                       

                    }
                    break;
View Full Code Here

                case 6 :
                    // ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:275:10: this_ID_5= RULE_ID
                    {
                    this_ID_5=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleKeywordedID659);

                        current.merge(this_ID_5);
                       
                    
                        newLeafNode(this_ID_5, grammarAccess.getKeywordedIDAccess().getIDTerminalRuleCall_5());
                       
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.