Home » openjdk-7 » com.sun.tools » javac » jvm » [javadoc | source]
com.sun.tools.javac.jvm
class: CRTable.SourceComputer [javadoc | source]
java.lang.Object
   com.sun.tools.javac.tree.JCTree.Visitor
      com.sun.tools.javac.jvm.CRTable$SourceComputer
This class contains methods to compute source positions for trees. Extends Tree.Visitor to traverse the abstract syntax tree.
Field Summary
 SourceRange result    The result of the tree traversal methods. 
Method from com.sun.tools.javac.jvm.CRTable$SourceComputer Summary:
csp,   csp,   cspCases,   cspCatchers,   endPos,   startPos,   visitApply,   visitAssert,   visitAssign,   visitAssignop,   visitBinary,   visitBlock,   visitBreak,   visitCase,   visitCatch,   visitConditional,   visitContinue,   visitDoLoop,   visitErroneous,   visitExec,   visitForLoop,   visitForeachLoop,   visitIdent,   visitIf,   visitIndexed,   visitLabelled,   visitLiteral,   visitMethodDef,   visitNewArray,   visitNewClass,   visitParens,   visitReturn,   visitSelect,   visitSkip,   visitSwitch,   visitSynchronized,   visitThrow,   visitTree,   visitTry,   visitTypeApply,   visitTypeArray,   visitTypeCast,   visitTypeIdent,   visitTypeParameter,   visitTypeTest,   visitUnary,   visitVarDef,   visitWhileLoop,   visitWildcard
Methods from com.sun.tools.javac.tree.JCTree$Visitor:
visitAnnotation,   visitApply,   visitAssert,   visitAssign,   visitAssignop,   visitBinary,   visitBlock,   visitBreak,   visitCase,   visitCatch,   visitClassDef,   visitConditional,   visitContinue,   visitDoLoop,   visitErroneous,   visitExec,   visitForLoop,   visitForeachLoop,   visitIdent,   visitIf,   visitImport,   visitIndexed,   visitLabelled,   visitLetExpr,   visitLiteral,   visitMethodDef,   visitModifiers,   visitNewArray,   visitNewClass,   visitParens,   visitReturn,   visitSelect,   visitSkip,   visitSwitch,   visitSynchronized,   visitThrow,   visitTopLevel,   visitTree,   visitTry,   visitTypeApply,   visitTypeArray,   visitTypeBoundKind,   visitTypeCast,   visitTypeIdent,   visitTypeParameter,   visitTypeTest,   visitTypeUnion,   visitUnary,   visitVarDef,   visitWhileLoop,   visitWildcard
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.tools.javac.jvm.CRTable$SourceComputer Detail:
 public SourceRange csp(JCTree tree) 
    Visitor method: compute source positions for a single node.
 public SourceRange csp(List<JCTree> trees) 
    Visitor method: compute source positions for a list of nodes.
 public SourceRange cspCases(List<JCCase> trees) 
    Visitor method: compute source positions for a list of case blocks of switch statements.
 public SourceRange cspCatchers(List<JCCatch> trees) 
    Visitor method: compute source positions for a list of catch clauses in try statements.
 public int endPos(JCTree tree) 
    The end position of given tree, if it has defined endpos, NOPOS otherwise.
 public int startPos(JCTree tree) 
    The start position of given tree.
 public  void visitApply(JCMethodInvocation tree) 
 public  void visitAssert(JCAssert tree) 
 public  void visitAssign(JCAssign tree) 
 public  void visitAssignop(JCAssignOp tree) 
 public  void visitBinary(JCBinary tree) 
 public  void visitBlock(JCBlock tree) 
 public  void visitBreak(JCBreak tree) 
 public  void visitCase(JCCase tree) 
 public  void visitCatch(JCCatch tree) 
 public  void visitConditional(JCConditional tree) 
 public  void visitContinue(JCContinue tree) 
 public  void visitDoLoop(JCDoWhileLoop tree) 
 public  void visitErroneous(JCErroneous tree) 
 public  void visitExec(JCExpressionStatement tree) 
 public  void visitForLoop(JCForLoop tree) 
 public  void visitForeachLoop(JCEnhancedForLoop tree) 
 public  void visitIdent(JCIdent tree) 
 public  void visitIf(JCIf tree) 
 public  void visitIndexed(JCArrayAccess tree) 
 public  void visitLabelled(JCLabeledStatement tree) 
 public  void visitLiteral(JCLiteral tree) 
 public  void visitMethodDef(JCMethodDecl tree) 
 public  void visitNewArray(JCNewArray tree) 
 public  void visitNewClass(JCNewClass tree) 
 public  void visitParens(JCParens tree) 
 public  void visitReturn(JCReturn tree) 
 public  void visitSelect(JCFieldAccess tree) 
 public  void visitSkip(JCSkip tree) 
 public  void visitSwitch(JCSwitch tree) 
 public  void visitSynchronized(JCSynchronized tree) 
 public  void visitThrow(JCThrow tree) 
 public  void visitTree(JCTree tree) 
 public  void visitTry(JCTry tree) 
 public  void visitTypeApply(JCTypeApply tree) 
 public  void visitTypeArray(JCArrayTypeTree tree) 
 public  void visitTypeCast(JCTypeCast tree) 
 public  void visitTypeIdent(JCPrimitiveTypeTree tree) 
 public  void visitTypeParameter(JCTypeParameter tree) 
 public  void visitTypeTest(JCInstanceOf tree) 
 public  void visitUnary(JCUnary tree) 
 public  void visitVarDef(JCVariableDecl tree) 
 public  void visitWhileLoop(JCWhileLoop tree) 
 public  void visitWildcard(JCWildcard tree)