Package org.apache.forrest.forrestdoc.java.src.symtab

Examples of org.apache.forrest.forrestdoc.java.src.symtab.JavaVector


    Token  id = null;
    AST id_AST = null;
    AST sc_AST = null;
    AST ic_AST = null;
    AST cb_AST = null;
    JavaToken superClass=null; JavaVector interfaces=null;
   
    AST tmp9_AST = null;
    if (inputState.guessing==0) {
      tmp9_AST = (AST)astFactory.create(LT(1));
    }
View Full Code Here


    AST interfaceDefinition_AST = null;
    Token  id = null;
    AST id_AST = null;
    AST ie_AST = null;
    AST cb_AST = null;
    JavaVector superInterfaces = null;
   
    AST tmp10_AST = null;
    if (inputState.guessing==0) {
      tmp10_AST = (AST)astFactory.create(LT(1));
    }
View Full Code Here

    returnAST = superClassClause_AST;
    return t;
  }
 
  public final JavaVector  implementsClause() throws RecognitionException, TokenStreamException {
    JavaVector inters;
   
    returnAST = null;
    ASTPair currentAST = new ASTPair();
    AST implementsClause_AST = null;
    Token  i = null;
    AST i_AST = null;
    inters = new JavaVector(); JavaToken id;
   
    {
    switch ( LA(1)) {
    case LITERAL_implements:
    {
      i = LT(1);
      if (inputState.guessing==0) {
        i_AST = (AST)astFactory.create(i);
      }
      match(LITERAL_implements);
      id=classOrInterfaceType(false);
      if (inputState.guessing==0) {
        astFactory.addASTChild(currentAST, returnAST);
      }
      if ( inputState.guessing==0 ) {
        inters.addElement(dummyClass(id));
      }
      {
      _loop65:
      do {
        if ((LA(1)==COMMA)) {
          AST tmp34_AST = null;
          tmp34_AST = (AST)astFactory.create(LT(1));
          match(COMMA);
          id=classOrInterfaceType(false);
          if (inputState.guessing==0) {
            astFactory.addASTChild(currentAST, returnAST);
          }
          if ( inputState.guessing==0 ) {
            inters.addElement(dummyClass(id));
          }
        }
        else {
          break _loop65;
        }
View Full Code Here

    classBlock_AST = (AST)currentAST.root;
    returnAST = classBlock_AST;
  }
 
  public final JavaVector  interfaceExtends() throws RecognitionException, TokenStreamException {
    JavaVector supers;
   
    returnAST = null;
    ASTPair currentAST = new ASTPair();
    AST interfaceExtends_AST = null;
    Token  e = null;
    AST e_AST = null;
    JavaToken id; supers = new JavaVector();
   
    {
    switch ( LA(1)) {
    case LITERAL_extends:
    {
      e = LT(1);
      if (inputState.guessing==0) {
        e_AST = (AST)astFactory.create(e);
      }
      match(LITERAL_extends);
      id=classOrInterfaceType(false);
      if (inputState.guessing==0) {
        astFactory.addASTChild(currentAST, returnAST);
      }
      if ( inputState.guessing==0 ) {
        supers.addElement(dummyClass(id));
      }
      {
      _loop61:
      do {
        if ((LA(1)==COMMA)) {
          AST tmp38_AST = null;
          tmp38_AST = (AST)astFactory.create(LT(1));
          match(COMMA);
          id=classOrInterfaceType(false);
          if (inputState.guessing==0) {
            astFactory.addASTChild(currentAST, returnAST);
          }
          if ( inputState.guessing==0 ) {
            supers.addElement(dummyClass(id));
          }
        }
        else {
          break _loop61;
        }
View Full Code Here

    AST tc_AST = null;
    AST s2_AST = null;
    AST v_AST = null;
    AST s3_AST = null;
    AST s4_AST = null;
    JavaToken type; JavaVector exceptions=null;
   
    if ((_tokenSet_8.member(LA(1))) && (_tokenSet_9.member(LA(2)))) {
      modifiers();
      if (inputState.guessing==0) {
        mods_AST = (AST)returnAST;
View Full Code Here

    returnAST = null;
    ASTPair currentAST = new ASTPair();
    AST ctorHead_AST = null;
    Token  method = null;
    AST method_AST = null;
    JavaToken id; JavaVector exceptions = null;
   
    method = LT(1);
    if (inputState.guessing==0) {
      method_AST = (AST)astFactory.create(method);
      astFactory.addASTChild(currentAST, method_AST);
View Full Code Here

    declaratorBrackets_AST = (AST)currentAST.root;
    returnAST = declaratorBrackets_AST;
  }
 
  public final JavaVector  throwsClause() throws RecognitionException, TokenStreamException {
    JavaVector exceptions;
   
    returnAST = null;
    ASTPair currentAST = new ASTPair();
    AST throwsClause_AST = null;
    JavaToken id; exceptions = new JavaVector();
   
    AST tmp52_AST = null;
    if (inputState.guessing==0) {
      tmp52_AST = (AST)astFactory.create(LT(1));
      astFactory.makeASTRoot(currentAST, tmp52_AST);
    }
    match(LITERAL_throws);
    id=identifier();
    if (inputState.guessing==0) {
      astFactory.addASTChild(currentAST, returnAST);
    }
    if ( inputState.guessing==0 ) {
      exceptions.addElement(dummyClass(id));
    }
    {
    _loop96:
    do {
      if ((LA(1)==COMMA)) {
        AST tmp53_AST = null;
        tmp53_AST = (AST)astFactory.create(LT(1));
        match(COMMA);
        id=identifier();
        if (inputState.guessing==0) {
          astFactory.addASTChild(currentAST, returnAST);
        }
        if ( inputState.guessing==0 ) {
          exceptions.addElement(dummyClass(id));
        }
      }
      else {
        break _loop96;
      }
View Full Code Here

TOP

Related Classes of org.apache.forrest.forrestdoc.java.src.symtab.JavaVector

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.