Examples of AntlrDatatypeRuleToken


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

    // $ANTLR start entryRuleushort_type
    // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4346:1: entryRuleushort_type returns [String current=null] : iv_ruleushort_type= ruleushort_type EOF ;
    public final String entryRuleushort_type() throws RecognitionException {
        String current = null;

        AntlrDatatypeRuleToken iv_ruleushort_type = null;


        try {
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4347:2: (iv_ruleushort_type= ruleushort_type EOF )
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4348:2: iv_ruleushort_type= ruleushort_type EOF
            {
            if ( backtracking==0 ) {
               currentNode = createCompositeNode(grammarAccess.getUshort_typeRule(), currentNode);
            }
            pushFollow(FollowSets000.FOLLOW_ruleushort_type_in_entryRuleushort_type7827);
            iv_ruleushort_type=ruleushort_type();
            _fsp--;
            if (failed) return current;
            if ( backtracking==0 ) {
               current =iv_ruleushort_type.getText();
            }
            match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleushort_type7838); if (failed) return current;

            }
View Full Code Here

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


    // $ANTLR start ruleushort_type
    // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4355:1: ruleushort_type returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'unsigned' kw= 'short' ) ;
    public final AntlrDatatypeRuleToken ruleushort_type() throws RecognitionException {
        AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();

        Token kw=null;

         setCurrentLookahead(); resetLookahead();
           
        try {
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4360:6: ( (kw= 'unsigned' kw= 'short' ) )
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4361:1: (kw= 'unsigned' kw= 'short' )
            {
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4361:1: (kw= 'unsigned' kw= 'short' )
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4362:2: kw= 'unsigned' kw= 'short'
            {
            kw=(Token)input.LT(1);
            match(input,56,FollowSets000.FOLLOW_56_in_ruleushort_type7876); if (failed) return current;
            if ( backtracking==0 ) {

                      current.merge(kw);
                      createLeafNode(grammarAccess.getUshort_typeAccess().getUnsignedKeyword_0(), null);
                 
            }
            kw=(Token)input.LT(1);
            match(input,57,FollowSets000.FOLLOW_57_in_ruleushort_type7889); if (failed) return current;
            if ( backtracking==0 ) {

                      current.merge(kw);
                      createLeafNode(grammarAccess.getUshort_typeAccess().getShortKeyword_1(), null);
                 
            }

            }
View Full Code Here

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

    // $ANTLR start entryRuleulong_type
    // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4381:1: entryRuleulong_type returns [String current=null] : iv_ruleulong_type= ruleulong_type EOF ;
    public final String entryRuleulong_type() throws RecognitionException {
        String current = null;

        AntlrDatatypeRuleToken iv_ruleulong_type = null;


        try {
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4382:2: (iv_ruleulong_type= ruleulong_type EOF )
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4383:2: iv_ruleulong_type= ruleulong_type EOF
            {
            if ( backtracking==0 ) {
               currentNode = createCompositeNode(grammarAccess.getUlong_typeRule(), currentNode);
            }
            pushFollow(FollowSets000.FOLLOW_ruleulong_type_in_entryRuleulong_type7930);
            iv_ruleulong_type=ruleulong_type();
            _fsp--;
            if (failed) return current;
            if ( backtracking==0 ) {
               current =iv_ruleulong_type.getText();
            }
            match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleulong_type7941); if (failed) return current;

            }
View Full Code Here

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


    // $ANTLR start ruleulong_type
    // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4390:1: ruleulong_type returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'unsigned' kw= 'long' ) ;
    public final AntlrDatatypeRuleToken ruleulong_type() throws RecognitionException {
        AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();

        Token kw=null;

         setCurrentLookahead(); resetLookahead();
           
        try {
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4395:6: ( (kw= 'unsigned' kw= 'long' ) )
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4396:1: (kw= 'unsigned' kw= 'long' )
            {
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4396:1: (kw= 'unsigned' kw= 'long' )
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4397:2: kw= 'unsigned' kw= 'long'
            {
            kw=(Token)input.LT(1);
            match(input,56,FollowSets000.FOLLOW_56_in_ruleulong_type7979); if (failed) return current;
            if ( backtracking==0 ) {

                      current.merge(kw);
                      createLeafNode(grammarAccess.getUlong_typeAccess().getUnsignedKeyword_0(), null);
                 
            }
            kw=(Token)input.LT(1);
            match(input,54,FollowSets000.FOLLOW_54_in_ruleulong_type7992); if (failed) return current;
            if ( backtracking==0 ) {

                      current.merge(kw);
                      createLeafNode(grammarAccess.getUlong_typeAccess().getLongKeyword_1(), null);
                 
            }

            }
View Full Code Here

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

    // $ANTLR start entryRuleulonglong_type
    // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4416:1: entryRuleulonglong_type returns [String current=null] : iv_ruleulonglong_type= ruleulonglong_type EOF ;
    public final String entryRuleulonglong_type() throws RecognitionException {
        String current = null;

        AntlrDatatypeRuleToken iv_ruleulonglong_type = null;


        try {
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4417:2: (iv_ruleulonglong_type= ruleulonglong_type EOF )
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4418:2: iv_ruleulonglong_type= ruleulonglong_type EOF
            {
            if ( backtracking==0 ) {
               currentNode = createCompositeNode(grammarAccess.getUlonglong_typeRule(), currentNode);
            }
            pushFollow(FollowSets000.FOLLOW_ruleulonglong_type_in_entryRuleulonglong_type8033);
            iv_ruleulonglong_type=ruleulonglong_type();
            _fsp--;
            if (failed) return current;
            if ( backtracking==0 ) {
               current =iv_ruleulonglong_type.getText();
            }
            match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleulonglong_type8044); if (failed) return current;

            }
View Full Code Here

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


    // $ANTLR start ruleulonglong_type
    // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4425:1: ruleulonglong_type returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'unsigned' kw= 'long' kw= 'long' ) ;
    public final AntlrDatatypeRuleToken ruleulonglong_type() throws RecognitionException {
        AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();

        Token kw=null;

         setCurrentLookahead(); resetLookahead();
           
        try {
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4430:6: ( (kw= 'unsigned' kw= 'long' kw= 'long' ) )
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4431:1: (kw= 'unsigned' kw= 'long' kw= 'long' )
            {
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4431:1: (kw= 'unsigned' kw= 'long' kw= 'long' )
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:4432:2: kw= 'unsigned' kw= 'long' kw= 'long'
            {
            kw=(Token)input.LT(1);
            match(input,56,FollowSets000.FOLLOW_56_in_ruleulonglong_type8082); if (failed) return current;
            if ( backtracking==0 ) {

                      current.merge(kw);
                      createLeafNode(grammarAccess.getUlonglong_typeAccess().getUnsignedKeyword_0(), null);
                 
            }
            kw=(Token)input.LT(1);
            match(input,54,FollowSets000.FOLLOW_54_in_ruleulonglong_type8095); if (failed) return current;
            if ( backtracking==0 ) {

                      current.merge(kw);
                      createLeafNode(grammarAccess.getUlonglong_typeAccess().getLongKeyword_1(), null);
                 
            }
            kw=(Token)input.LT(1);
            match(input,54,FollowSets000.FOLLOW_54_in_ruleulonglong_type8108); if (failed) return current;
            if ( backtracking==0 ) {

                      current.merge(kw);
                      createLeafNode(grammarAccess.getUlonglong_typeAccess().getLongKeyword_2(), null);
                 
            }

            }
View Full Code Here

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

    // $ANTLR start ruleunary_expr
    // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:5436:1: ruleunary_expr returns [EObject current=null] : ( ( () ( (lv_operator_1_0= ruleunary_operator ) ) ( (lv_expression_2_0= ruleprimary_expr ) ) ) | this_primary_expr_3= ruleprimary_expr ) ;
    public final EObject ruleunary_expr() throws RecognitionException {
        EObject current = null;

        AntlrDatatypeRuleToken lv_operator_1_0 = null;

        EObject lv_expression_2_0 = null;

        EObject this_primary_expr_3 = null;
View Full Code Here

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

    // $ANTLR start entryRuleunary_operator
    // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:5525:1: entryRuleunary_operator returns [String current=null] : iv_ruleunary_operator= ruleunary_operator EOF ;
    public final String entryRuleunary_operator() throws RecognitionException {
        String current = null;

        AntlrDatatypeRuleToken iv_ruleunary_operator = null;


        try {
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:5526:2: (iv_ruleunary_operator= ruleunary_operator EOF )
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:5527:2: iv_ruleunary_operator= ruleunary_operator EOF
            {
            if ( backtracking==0 ) {
               currentNode = createCompositeNode(grammarAccess.getUnary_operatorRule(), currentNode);
            }
            pushFollow(FollowSets000.FOLLOW_ruleunary_operator_in_entryRuleunary_operator9914);
            iv_ruleunary_operator=ruleunary_operator();
            _fsp--;
            if (failed) return current;
            if ( backtracking==0 ) {
               current =iv_ruleunary_operator.getText();
            }
            match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleunary_operator9925); if (failed) return current;

            }
View Full Code Here

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


    // $ANTLR start ruleunary_operator
    // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:5534:1: ruleunary_operator returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '-' | kw= '+' | kw= '~' ) ;
    public final AntlrDatatypeRuleToken ruleunary_operator() throws RecognitionException {
        AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();

        Token kw=null;

         setCurrentLookahead(); resetLookahead();
           
        try {
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:5539:6: ( (kw= '-' | kw= '+' | kw= '~' ) )
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:5540:1: (kw= '-' | kw= '+' | kw= '~' )
            {
            // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:5540:1: (kw= '-' | kw= '+' | kw= '~' )
            int alt73=3;
            switch ( input.LA(1) ) {
            case 64:
                {
                alt73=1;
                }
                break;
            case 63:
                {
                alt73=2;
                }
                break;
            case 68:
                {
                alt73=3;
                }
                break;
            default:
                if (backtracking>0) {failed=true; return current;}
                NoViableAltException nvae =
                    new NoViableAltException("5540:1: (kw= '-' | kw= '+' | kw= '~' )", 73, 0, input);

                throw nvae;
            }

            switch (alt73) {
                case 1 :
                    // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:5541:2: kw= '-'
                    {
                    kw=(Token)input.LT(1);
                    match(input,64,FollowSets000.FOLLOW_64_in_ruleunary_operator9963); if (failed) return current;
                    if ( backtracking==0 ) {

                              current.merge(kw);
                              createLeafNode(grammarAccess.getUnary_operatorAccess().getHyphenMinusKeyword_0(), null);
                         
                    }

                    }
                    break;
                case 2 :
                    // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:5548:2: kw= '+'
                    {
                    kw=(Token)input.LT(1);
                    match(input,63,FollowSets000.FOLLOW_63_in_ruleunary_operator9982); if (failed) return current;
                    if ( backtracking==0 ) {

                              current.merge(kw);
                              createLeafNode(grammarAccess.getUnary_operatorAccess().getPlusSignKeyword_1(), null);
                         
                    }

                    }
                    break;
                case 3 :
                    // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:5555:2: kw= '~'
                    {
                    kw=(Token)input.LT(1);
                    match(input,68,FollowSets000.FOLLOW_68_in_ruleunary_operator10001); if (failed) return current;
                    if ( backtracking==0 ) {

                              current.merge(kw);
                              createLeafNode(grammarAccess.getUnary_operatorAccess().getTildeKeyword_2(), null);
                         
                    }

                    }
View Full Code Here

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

    // $ANTLR start rulevalueExpression
    // ../org.csu.idl.xtext/src-gen/org/csu/idl/xtext/parser/antlr/internal/InternalIDL.g:5686:1: rulevalueExpression returns [EObject current=null] : ( (lv_value_0_0= ruleliteral ) ) ;
    public final EObject rulevalueExpression() throws RecognitionException {
        EObject current = null;

        AntlrDatatypeRuleToken lv_value_0_0 = null;


         EObject temp=null; setCurrentLookahead(); resetLookahead();
           
        try {
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.