|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.javac.tree.JCTree.Visitor
com.sun.tools.javac.jvm.CRTable.SourceComputer
class CRTable.SourceComputer
This class contains methods to compute source positions for trees. Extends Tree.Visitor to traverse the abstract syntax tree.
| Field Summary | |
|---|---|
(package private) CRTable.SourceRange |
result
The result of the tree traversal methods. |
| Constructor Summary | |
|---|---|
CRTable.SourceComputer()
|
|
| Methods inherited from class com.sun.tools.javac.tree.JCTree.Visitor |
|---|
visitAnnotation, visitBracketExpr, visitBracketStat, visitClassDef, visitEscapeExpr, visitEscapeStat, visitImport, visitLetExpr, visitModifiers, visitTopLevel, visitTypeBoundKind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
CRTable.SourceRange result
| Constructor Detail |
|---|
CRTable.SourceComputer()
| Method Detail |
|---|
public CRTable.SourceRange csp(JCTree tree)
public CRTable.SourceRange csp(List<? extends JCTree> trees)
public CRTable.SourceRange cspCases(List<JCTree.JCCase> trees)
public CRTable.SourceRange cspCatchers(List<JCTree.JCCatch> trees)
public void visitMethodDef(JCTree.JCMethodDecl tree)
visitMethodDef in class JCTree.Visitorpublic void visitVarDef(JCTree.JCVariableDecl tree)
visitVarDef in class JCTree.Visitorpublic void visitSkip(JCTree.JCSkip tree)
visitSkip in class JCTree.Visitorpublic void visitBlock(JCTree.JCBlock tree)
visitBlock in class JCTree.Visitorpublic void visitDoLoop(JCTree.JCDoWhileLoop tree)
visitDoLoop in class JCTree.Visitorpublic void visitWhileLoop(JCTree.JCWhileLoop tree)
visitWhileLoop in class JCTree.Visitorpublic void visitForLoop(JCTree.JCForLoop tree)
visitForLoop in class JCTree.Visitorpublic void visitForeachLoop(JCTree.JCEnhancedForLoop tree)
visitForeachLoop in class JCTree.Visitorpublic void visitLabelled(JCTree.JCLabeledStatement tree)
visitLabelled in class JCTree.Visitorpublic void visitSwitch(JCTree.JCSwitch tree)
visitSwitch in class JCTree.Visitorpublic void visitCase(JCTree.JCCase tree)
visitCase in class JCTree.Visitorpublic void visitSynchronized(JCTree.JCSynchronized tree)
visitSynchronized in class JCTree.Visitorpublic void visitTry(JCTree.JCTry tree)
visitTry in class JCTree.Visitorpublic void visitCatch(JCTree.JCCatch tree)
visitCatch in class JCTree.Visitorpublic void visitConditional(JCTree.JCConditional tree)
visitConditional in class JCTree.Visitorpublic void visitIf(JCTree.JCIf tree)
visitIf in class JCTree.Visitorpublic void visitExec(JCTree.JCExpressionStatement tree)
visitExec in class JCTree.Visitorpublic void visitBreak(JCTree.JCBreak tree)
visitBreak in class JCTree.Visitorpublic void visitContinue(JCTree.JCContinue tree)
visitContinue in class JCTree.Visitorpublic void visitReturn(JCTree.JCReturn tree)
visitReturn in class JCTree.Visitorpublic void visitThrow(JCTree.JCThrow tree)
visitThrow in class JCTree.Visitorpublic void visitAssert(JCTree.JCAssert tree)
visitAssert in class JCTree.Visitorpublic void visitApply(JCTree.JCMethodInvocation tree)
visitApply in class JCTree.Visitorpublic void visitNewClass(JCTree.JCNewClass tree)
visitNewClass in class JCTree.Visitorpublic void visitNewArray(JCTree.JCNewArray tree)
visitNewArray in class JCTree.Visitorpublic void visitParens(JCTree.JCParens tree)
visitParens in class JCTree.Visitorpublic void visitAssign(JCTree.JCAssign tree)
visitAssign in class JCTree.Visitorpublic void visitAssignop(JCTree.JCAssignOp tree)
visitAssignop in class JCTree.Visitorpublic void visitUnary(JCTree.JCUnary tree)
visitUnary in class JCTree.Visitorpublic void visitBinary(JCTree.JCBinary tree)
visitBinary in class JCTree.Visitorpublic void visitTypeCast(JCTree.JCTypeCast tree)
visitTypeCast in class JCTree.Visitorpublic void visitTypeTest(JCTree.JCInstanceOf tree)
visitTypeTest in class JCTree.Visitorpublic void visitIndexed(JCTree.JCArrayAccess tree)
visitIndexed in class JCTree.Visitorpublic void visitSelect(JCTree.JCFieldAccess tree)
visitSelect in class JCTree.Visitorpublic void visitIdent(JCTree.JCIdent tree)
visitIdent in class JCTree.Visitorpublic void visitLiteral(JCTree.JCLiteral tree)
visitLiteral in class JCTree.Visitorpublic void visitTypeIdent(JCTree.JCPrimitiveTypeTree tree)
visitTypeIdent in class JCTree.Visitorpublic void visitTypeArray(JCTree.JCArrayTypeTree tree)
visitTypeArray in class JCTree.Visitorpublic void visitTypeApply(JCTree.JCTypeApply tree)
visitTypeApply in class JCTree.Visitorpublic void visitTypeParameter(JCTree.JCTypeParameter tree)
visitTypeParameter in class JCTree.Visitorpublic void visitWildcard(JCTree.JCWildcard tree)
visitWildcard in class JCTree.Visitorpublic void visitErroneous(JCTree.JCErroneous tree)
visitErroneous in class JCTree.Visitorpublic void visitTree(JCTree tree)
visitTree in class JCTree.Visitorpublic int startPos(JCTree tree)
public int endPos(JCTree tree)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||