Package org.eclipse.xtext.parser.antlr

Examples of org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken



    // $ANTLR start "ruleQualifiedName"
    // ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1395:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
    public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException {
        AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();

        Token this_ID_0=null;
        Token kw=null;
        Token this_ID_2=null;

         enterRule();
           
        try {
            // ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1398:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
            // ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1399:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
            {
            // ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1399:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
            // ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1399:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
            {
            this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName3197);

                current.merge(this_ID_0);
               
            
                newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0());
               
            // ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1406:1: (kw= '.' this_ID_2= RULE_ID )*
            loop20:
            do {
                int alt20=2;
                int LA20_0 = input.LA(1);

                if ( (LA20_0==32) ) {
                    alt20=1;
                }


                switch (alt20) {
              case 1 :
                  // ../org.applause.lang/src-gen/org/applause/lang/parser/antlr/internal/InternalApplauseDsl.g:1407:2: kw= '.' this_ID_2= RULE_ID
                  {
                  kw=(Token)match(input,32,FOLLOW_32_in_ruleQualifiedName3216);

                          current.merge(kw);
                          newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
                     
                  this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName3231);

                      current.merge(this_ID_2);
                     
                  
                      newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1());
                     

View Full Code Here


    // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:199:1: ruleTask returns [EObject current=null] : ( ( (lv_intend_0_0= ruleIntendation ) ) ( (lv_text_1_0= RULE_TASK_TEXT ) ) ) ;
    public final EObject ruleTask() throws RecognitionException {
        EObject current = null;

        Token lv_text_1_0=null;
        AntlrDatatypeRuleToken lv_intend_0_0 = null;


         enterRule();
           
        try {
View Full Code Here

    // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:256:1: ruleNote returns [EObject current=null] : ( ( (lv_intend_0_0= ruleIntendation ) ) ( (lv_text_1_0= RULE_TEXT ) ) ) ;
    public final EObject ruleNote() throws RecognitionException {
        EObject current = null;

        Token lv_text_1_0=null;
        AntlrDatatypeRuleToken lv_intend_0_0 = null;


         enterRule();
           
        try {
View Full Code Here

    // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:313:1: ruleProject returns [EObject current=null] : ( ( (lv_intend_0_0= ruleIntendation ) ) ( (lv_text_1_0= RULE_PROJECT_ ) ) ) ;
    public final EObject ruleProject() throws RecognitionException {
        EObject current = null;

        Token lv_text_1_0=null;
        AntlrDatatypeRuleToken lv_intend_0_0 = null;


         enterRule();
           
        try {
View Full Code Here

    // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:370:1: ruleCode returns [EObject current=null] : ( ( (lv_intend_0_0= ruleIntendation ) ) ( (lv_text_1_0= RULE_CODE_ ) ) ) ;
    public final EObject ruleCode() throws RecognitionException {
        EObject current = null;

        Token lv_text_1_0=null;
        AntlrDatatypeRuleToken lv_intend_0_0 = null;


         enterRule();
           
        try {
View Full Code Here

    // $ANTLR start "entryRuleIntendation"
    // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:418:1: entryRuleIntendation returns [String current=null] : iv_ruleIntendation= ruleIntendation EOF ;
    public final String entryRuleIntendation() throws RecognitionException {
        String current = null;

        AntlrDatatypeRuleToken iv_ruleIntendation = null;


        try {
            // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:419:2: (iv_ruleIntendation= ruleIntendation EOF )
            // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:420:2: iv_ruleIntendation= ruleIntendation EOF
            {
             newCompositeNode(grammarAccess.getIntendationRule());
            pushFollow(FOLLOW_ruleIntendation_in_entryRuleIntendation852);
            iv_ruleIntendation=ruleIntendation();

            state._fsp--;

             current =iv_ruleIntendation.getText();
            match(input,EOF,FOLLOW_EOF_in_entryRuleIntendation863);

            }

        }
View Full Code Here


    // $ANTLR start "ruleIntendation"
    // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:427:1: ruleIntendation returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( ( (this_SPACE_0= RULE_SPACE this_SPACE_1= RULE_SPACE ) | this_TAB_2= RULE_TAB )* (this_SPACE_3= RULE_SPACE )? ) ;
    public final AntlrDatatypeRuleToken ruleIntendation() throws RecognitionException {
        AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();

        Token this_SPACE_0=null;
        Token this_SPACE_1=null;
        Token this_TAB_2=null;
        Token this_SPACE_3=null;

         enterRule();
           
        try {
            // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:430:28: ( ( ( (this_SPACE_0= RULE_SPACE this_SPACE_1= RULE_SPACE ) | this_TAB_2= RULE_TAB )* (this_SPACE_3= RULE_SPACE )? ) )
            // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:431:1: ( ( (this_SPACE_0= RULE_SPACE this_SPACE_1= RULE_SPACE ) | this_TAB_2= RULE_TAB )* (this_SPACE_3= RULE_SPACE )? )
            {
            // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:431:1: ( ( (this_SPACE_0= RULE_SPACE this_SPACE_1= RULE_SPACE ) | this_TAB_2= RULE_TAB )* (this_SPACE_3= RULE_SPACE )? )
            // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:431:2: ( (this_SPACE_0= RULE_SPACE this_SPACE_1= RULE_SPACE ) | this_TAB_2= RULE_TAB )* (this_SPACE_3= RULE_SPACE )?
            {
            // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:431:2: ( (this_SPACE_0= RULE_SPACE this_SPACE_1= RULE_SPACE ) | this_TAB_2= RULE_TAB )*
            loop4:
            do {
                int alt4=3;
                int LA4_0 = input.LA(1);

                if ( (LA4_0==RULE_SPACE) ) {
                    int LA4_1 = input.LA(2);

                    if ( (LA4_1==RULE_SPACE) ) {
                        alt4=1;
                    }


                }
                else if ( (LA4_0==RULE_TAB) ) {
                    alt4=2;
                }


                switch (alt4) {
              case 1 :
                  // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:431:3: (this_SPACE_0= RULE_SPACE this_SPACE_1= RULE_SPACE )
                  {
                  // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:431:3: (this_SPACE_0= RULE_SPACE this_SPACE_1= RULE_SPACE )
                  // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:431:8: this_SPACE_0= RULE_SPACE this_SPACE_1= RULE_SPACE
                  {
                  this_SPACE_0=(Token)match(input,RULE_SPACE,FOLLOW_RULE_SPACE_in_ruleIntendation905);

                      current.merge(this_SPACE_0);
                     
                  
                      newLeafNode(this_SPACE_0, grammarAccess.getIntendationAccess().getSPACETerminalRuleCall_0_0_0());
                     
                  this_SPACE_1=(Token)match(input,RULE_SPACE,FOLLOW_RULE_SPACE_in_ruleIntendation925);

                      current.merge(this_SPACE_1);
                     
                  
                      newLeafNode(this_SPACE_1, grammarAccess.getIntendationAccess().getSPACETerminalRuleCall_0_0_1());
                     

                  }


                  }
                  break;
              case 2 :
                  // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:446:10: this_TAB_2= RULE_TAB
                  {
                  this_TAB_2=(Token)match(input,RULE_TAB,FOLLOW_RULE_TAB_in_ruleIntendation952);

                      current.merge(this_TAB_2);
                     
                  
                      newLeafNode(this_TAB_2, grammarAccess.getIntendationAccess().getTABTerminalRuleCall_0_1());
                     

                  }
                  break;

              default :
                  break loop4;
                }
            } while (true);

            // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:453:3: (this_SPACE_3= RULE_SPACE )?
            int alt5=2;
            int LA5_0 = input.LA(1);

            if ( (LA5_0==RULE_SPACE) ) {
                alt5=1;
            }
            switch (alt5) {
                case 1 :
                    // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:453:8: this_SPACE_3= RULE_SPACE
                    {
                    this_SPACE_3=(Token)match(input,RULE_SPACE,FOLLOW_RULE_SPACE_in_ruleIntendation975);

                        current.merge(this_SPACE_3);
                       
                    
                        newLeafNode(this_SPACE_3, grammarAccess.getIntendationAccess().getSPACETerminalRuleCall_1());
                       

View Full Code Here

    // $ANTLR start "ruleEmptyLine"
    // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:477:1: ruleEmptyLine returns [EObject current=null] : ( (lv_text_0_0= ruleSpaces ) ) ;
    public final EObject ruleEmptyLine() throws RecognitionException {
        EObject current = null;

        AntlrDatatypeRuleToken lv_text_0_0 = null;


         enterRule();
           
        try {
View Full Code Here

    // $ANTLR start "entryRuleSpaces"
    // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:507:1: entryRuleSpaces returns [String current=null] : iv_ruleSpaces= ruleSpaces EOF ;
    public final String entryRuleSpaces() throws RecognitionException {
        String current = null;

        AntlrDatatypeRuleToken iv_ruleSpaces = null;


        try {
            // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:508:2: (iv_ruleSpaces= ruleSpaces EOF )
            // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:509:2: iv_ruleSpaces= ruleSpaces EOF
            {
             newCompositeNode(grammarAccess.getSpacesRule());
            pushFollow(FOLLOW_ruleSpaces_in_entryRuleSpaces1113);
            iv_ruleSpaces=ruleSpaces();

            state._fsp--;

             current =iv_ruleSpaces.getText();
            match(input,EOF,FOLLOW_EOF_in_entryRuleSpaces1124);

            }

        }
View Full Code Here


    // $ANTLR start "ruleSpaces"
    // ../de.sebastianbenz.task/src-gen/de/sebastianbenz/task/parser/antlr/internal/InternalTask.g:516:1: ruleSpaces returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (this_Ws_0= ruleWs )* this_NL_1= RULE_NL ) ;
    public final AntlrDatatypeRuleToken ruleSpaces() throws RecognitionException {
        AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();

        Token this_NL_1=null;
        AntlrDatatypeRuleToken this_Ws_0 = null;


         enterRule();
           
        try {
View Full Code Here

TOP

Related Classes of org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken

Copyright © 2018 www.massapicom. 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.