Package antlr.collections

Examples of antlr.collections.AST.initialize()


        node2 = LT(1);
        node2_AST = astFactory.create(node2);
        astFactory.makeASTRoot(currentAST, node2_AST);
        match(COLONEQUALS);
        if ( inputState.guessing==0 ) {
          node2_AST.initialize (FIELD_VALUE_UPDATE, "FIELD_VALUE_UPDATE");
        }
        break;
      }
      default:
      {
View Full Code Here


      node = LT(1);
      node_AST = astFactory.create(node);
      astFactory.makeASTRoot(currentAST, node_AST);
      match(EQUALS);
      if ( inputState.guessing==0 ) {
        node_AST.initialize (LET_PATTERN_MATCH_DECL, "LET_PATTERN_MATCH_DECL");
      }
      expr(LT(1), "valid defining expression for a local pattern match declaration");
      astFactory.addASTChild(currentAST, returnAST);
      match(SEMICOLON);
      if ( inputState.guessing==0 ) {
View Full Code Here

        node = LT(1);
        node_AST = astFactory.create(node);
        astFactory.makeASTRoot(currentAST, node_AST);
        match(MINUS);
        if ( inputState.guessing==0 ) {
          node_AST.initialize (MINUS, "-");
        }
        AST tmp122_AST = null;
        tmp122_AST = astFactory.create(LT(1));
        astFactory.addASTChild(currentAST, tmp122_AST);
        match(INTEGER_LITERAL);
View Full Code Here

        node = LT(1);
        node_AST = astFactory.create(node);
        astFactory.makeASTRoot(currentAST, node_AST);
        match(CALDOC_SEE_TAG_QUOTE);
        if ( inputState.guessing==0 ) {
          node_AST.initialize(CALDOC_UNCHECKED_QUALIFIED_VAR, "CALDOC_UNCHECKED_QUALIFIED_VAR");
        }
        qualifiedVar(LT(1), "a qualified variable name");
        astFactory.addASTChild(currentAST, returnAST);
        match(CALDOC_SEE_TAG_QUOTE);
        docCommentMaybeUncheckedQualifiedVar_AST = (AST)currentAST.root;
View Full Code Here

        node = LT(1);
        node_AST = astFactory.create(node);
        astFactory.makeASTRoot(currentAST, node_AST);
        match(CALDOC_SEE_TAG_QUOTE);
        if ( inputState.guessing==0 ) {
          node_AST.initialize(CALDOC_UNCHECKED_QUALIFIED_CONS, "CALDOC_UNCHECKED_QUALIFIED_CONS");
        }
        qualifiedCons(LT(1), paraphrase);
        astFactory.addASTChild(currentAST, returnAST);
        match(CALDOC_SEE_TAG_QUOTE);
        docCommentMaybeUncheckedQualifiedConsWithParaphrase_AST = (AST)currentAST.root;
View Full Code Here

      node = LT(1);
      node_AST = astFactory.create(node);
      astFactory.makeASTRoot(currentAST, node_AST);
      match(CALDOC_AUTHOR_TAG);
      if ( inputState.guessing==0 ) {
        node_AST.initialize(CALDOC_AUTHOR_BLOCK, "CALDOC_AUTHOR_BLOCK");
      }
      docCommentTextualContent();
      astFactory.addASTChild(currentAST, returnAST);
      docCommentAuthorBlock_AST = (AST)currentAST.root;
    }
View Full Code Here

      node = LT(1);
      node_AST = astFactory.create(node);
      astFactory.makeASTRoot(currentAST, node_AST);
      match(CALDOC_DEPRECATED_TAG);
      if ( inputState.guessing==0 ) {
        node_AST.initialize(CALDOC_DEPRECATED_BLOCK, "CALDOC_DEPRECATED_BLOCK");
      }
      docCommentTextualContent();
      astFactory.addASTChild(currentAST, returnAST);
      docCommentDeprecatedBlock_AST = (AST)currentAST.root;
    }
View Full Code Here

      node = LT(1);
      node_AST = astFactory.create(node);
      astFactory.makeASTRoot(currentAST, node_AST);
      match(CALDOC_RETURN_TAG);
      if ( inputState.guessing==0 ) {
        node_AST.initialize(CALDOC_RETURN_BLOCK, "CALDOC_RETURN_BLOCK");
      }
      docCommentTextualContent();
      astFactory.addASTChild(currentAST, returnAST);
      docCommentReturnBlock_AST = (AST)currentAST.root;
    }
View Full Code Here

      node = LT(1);
      node_AST = astFactory.create(node);
      astFactory.makeASTRoot(currentAST, node_AST);
      match(CALDOC_VERSION_TAG);
      if ( inputState.guessing==0 ) {
        node_AST.initialize(CALDOC_VERSION_BLOCK, "CALDOC_VERSION_BLOCK");
      }
      docCommentTextualContent();
      astFactory.addASTChild(currentAST, returnAST);
      docCommentVersionBlock_AST = (AST)currentAST.root;
    }
View Full Code Here

      node = LT(1);
      node_AST = astFactory.create(node);
      astFactory.makeASTRoot(currentAST, node_AST);
      match(CALDOC_ARG_TAG);
      if ( inputState.guessing==0 ) {
        node_AST.initialize(CALDOC_ARG_BLOCK, "CALDOC_ARG_BLOCK");
      }
      fieldName(LT(1), "a valid argument name");
      astFactory.addASTChild(currentAST, returnAST);
      docCommentTextualContent();
      astFactory.addASTChild(currentAST, returnAST);
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.