|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> checks >> usage >> [ transmogrify overview ] | PREV NEXT | ||||||||
Uses of Class
com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.SymTabAST
| Uses of SymTabAST in com.puppycrawl.tools.checkstyle.checks.usage.transmogrify |
| Fields in com.puppycrawl.tools.checkstyle.checks.usage.transmogrify declared as SymTabAST | |
(package private) SymTabAST |
UnknownClass._node
|
private SymTabAST |
TableMaker._tree
|
protected SymTabAST |
TableMaker.DefinitionFinisher._node
|
private SymTabAST |
SymTabASTIterator._current
|
private SymTabAST |
SymbolTable.root
|
protected SymTabAST |
ReferenceTool._tree
|
private SymTabAST |
Reference._node
|
private SymTabAST |
Definition._node
|
private SymTabAST |
ASTManager.mCompleteTree
root with subtrees for a set of files |
protected SymTabAST |
AnonymousInnerClass._objblock
|
protected SymTabAST |
AnonymousInnerClass._classExtended
|
| Methods in com.puppycrawl.tools.checkstyle.checks.usage.transmogrify that return SymTabAST | |
private SymTabAST |
VariableDef.getVisibilityNode()
|
SymTabAST |
TableMaker.getTree()
returns the SymTabAST which is the
SymTabAST generated from the parsed Java Source files. |
static SymTabAST |
TableMaker.getExtendsNode(ClassDef classDef)
returns the SymTabAST that contains the parameter classDef's
extends nodes |
private SymTabAST |
TableMaker.MethodFinisher.getTypeNode()
getTypeNode returnss the SymTabAST node that is the
return type of this method |
SymTabAST |
SymTabASTIterator.nextChild()
The next child node. |
static SymTabAST |
SymTabASTFactory.create(int aType,
java.lang.String aText)
Creates a SymTabAST with a given type and text. |
static SymTabAST |
SymTabASTFactory.create(antlr.collections.AST aAST)
Creates an SymTabAST from a given AST. |
private SymTabAST |
SymTabAST.treeCopy()
makes a new copy of the current SymTabAST. |
SymTabAST |
SymTabAST.getEnclosingNode(int line,
int column)
gets enclosing node for this node based on line and column |
SymTabAST |
SymTabAST.findFirstToken(int type)
Gets first occurence of the child node with a certain type |
SymTabAST |
SymbolTable.getTree()
gets the root node |
SymTabAST |
Reference.getTreeNode()
return the node that was passed in during ctor |
SymTabAST |
QueryEngine.getFileNode(java.io.File file)
|
private SymTabAST |
QueryEngine.getWordNodeAtOccurrence(Occurrence location)
|
static SymTabAST |
LiteralResolver.getASTNode(IClass primitive)
|
SymTabAST |
DotIterator.nextNode()
Returns the next portion of the dotted name. |
SymTabAST |
Definition.getTreeNode()
returns the node in the AST that represents this definition |
private SymTabAST |
ClassDef.getObjblock()
|
static SymTabAST |
ASTUtil.getFileNode(SymTabAST root,
java.io.File file)
|
SymTabAST |
ASTManager.get(antlr.collections.AST aAST)
Gets the SymTabAST associated with a AST. |
| Methods in com.puppycrawl.tools.checkstyle.checks.usage.transmogrify with parameters of type SymTabAST | |
private boolean |
VariableDef.isVisibilityNode(SymTabAST node)
|
void |
TableMaker.walkTree(SymTabAST tree,
boolean makeAnonymousScopes)
processes a single SymTabAST node based on its type and passes of its children for further processing where appropriate. |
void |
TableMaker.processAssert(SymTabAST tree)
|
void |
TableMaker.walkSiblings(SymTabAST tree,
boolean makeAnonymousScopes)
processes the given SymTabAST and each of its siblings |
void |
TableMaker.processPackage(SymTabAST tree)
processes the given SymTabAST as a package defintion |
private PackageDef |
TableMaker.createPackage(SymTabAST tree)
gets the package represented by the tree. |
private PackageDef |
TableMaker.getPackage(Scope parent,
SymTabAST tree)
gets the package determined by the tree and parent package def. |
void |
TableMaker.processFile(SymTabAST tree)
process the given SymTabAST as a file definition |
void |
TableMaker.processImport(SymTabAST tree)
adds the given SymTabAST to imports member |
void |
TableMaker.processLabel(SymTabAST tree)
process the given SymTabAST as a label definition |
void |
TableMaker.processClass(SymTabAST tree)
process the given SymTabAST as a class definition |
void |
TableMaker.makeClass(java.lang.String name,
SymTabAST tree)
creates ClassDef for the current class node and add it to the
symbol table |
void |
TableMaker.processAnonymousInnerClass(SymTabAST objblock,
SymTabAST classExtended)
processes anonymous inner class encountered in the tree |
private void |
TableMaker.processVariableDef(SymTabAST tree)
process the given SymTabAST as a variable definition |
VariableDef |
TableMaker.makeVariableDef(SymTabAST tree,
Scope scope)
creates VariableDef based on the current tree node and scope |
void |
TableMaker.processTry(SymTabAST tree)
process the given SymTabAST as a try block |
void |
TableMaker.processFinally(SymTabAST tree)
process the given SymTabAST as a finally block |
void |
TableMaker.processMethodDef(SymTabAST tree)
process the given SymTabAST as a method definition |
void |
TableMaker.processConstructorDef(SymTabAST tree)
process the given SymTabAST as a constructor definition |
void |
TableMaker.processFor(SymTabAST tree)
process the given SymTabAST as a for block |
void |
TableMaker.processIf(SymTabAST tree)
process the given SymTabAST as an if block |
void |
TableMaker.processElse(SymTabAST tree)
process the given SymTabAST as an else block |
void |
TableMaker.makeElseBlock(SymTabAST tree)
defines an anonymous block to enclose the scope of an else block |
void |
TableMaker.processBlock(SymTabAST tree,
boolean makeAnonymousScopes)
processes the current tree node as BlockDef |
private BlockDef |
TableMaker.makeBlock(SymTabAST tree)
creates a new BlockDef in the SymbolTable |
protected IClass |
TableMaker.DefinitionFinisher.getType(Definition def,
SymTabAST typeNode)
gets the classDef that represents the type of the given definition |
void |
SymTabAST.setParent(SymTabAST parent)
sets parent of this node |
Span |
SymTabAST.finishDefinition(java.io.File file,
SymTabAST parent)
finishes process for adding node to its parent |
protected void |
Resolver.handleSList(SymTabAST node,
Scope scope)
|
IClass |
Resolver.resolveExpression(SymTabAST expression,
Scope location,
IClass context,
boolean referencePhase)
Resolves Java expressions, returning the type to which the expression evalutes. |
private IClass |
Resolver.resolveTypecast(SymTabAST node,
Scope location,
IClass context,
boolean referencePhase)
|
private IClass |
Resolver.resolveArrayAccess(SymTabAST node,
Scope location,
IClass context,
boolean referencePhase)
|
private IClass |
Resolver.resolveDottedName(SymTabAST tree,
Scope location,
IClass context,
boolean referencePhase)
Resolves any dotted reference, returning the Scope
identified by the reference. |
private IClass |
Resolver.resolveMethod(SymTabAST methodNode,
Scope location,
IClass context,
boolean referencePhase)
Resolves a method call. |
private IClass |
Resolver.resolveLiteralThis(SymTabAST thisNode,
Scope location,
IClass context)
resolves a literal "this" |
private IClass |
Resolver.resolveLiteralSuper(SymTabAST superNode,
Scope location,
IClass context)
resolves a literal "super" |
private boolean |
Resolver.newIsConstructor(SymTabAST newNode)
|
IClass |
Resolver.resolveType(SymTabAST expr,
Scope location,
IClass context,
boolean referencePhase)
resolves and expression of type TokenTypes.TYPE |
IClass |
Resolver.resolveClass(SymTabAST expr,
Scope location,
IClass context,
boolean referencePhase)
resolves Class type expression |
IClass |
Resolver.resolveClassIdent(SymTabAST expr,
Scope location,
IClass context,
boolean referencePhase)
resolves expression with JavaTokenTypes |
private IClass |
Resolver.resolveNew(SymTabAST newNode,
Scope location,
IClass context,
boolean referencePhase)
|
private IClass |
Resolver.resolveNewArray(SymTabAST newNode,
Scope location,
IClass context,
boolean referencePhase)
|
private IClass |
Resolver.resolveQuestion(SymTabAST question,
Scope location,
IClass context,
boolean referencePhase)
|
private IClass |
Resolver.resolveConstructor(SymTabAST constructor,
Scope location,
IClass context,
boolean referencePhase)
Resolves a constructor call. |
private MethodSignature |
Resolver.resolveParameters(SymTabAST elist,
Scope location,
IClass context,
boolean referencePhase)
Resolves the types found in a method call. |
private IClass |
Resolver.resolveIdent(SymTabAST ident,
Scope location,
IClass context,
boolean referencePhase)
Resolves an IDENT node of an AST, creating the appropriate reference and returning the scope of the identifer. |
private IClass |
Resolver.resolveBooleanExpression(SymTabAST expression,
Scope location,
IClass context,
boolean referencePhase)
Resolves a (binary) boolean expression. |
private IClass |
Resolver.resolveAssignment(SymTabAST expression,
Scope location,
IClass context,
boolean referencePhase)
resolves references in an assignment expression |
private IClass |
Resolver.resolveUnaryExpression(SymTabAST expression,
Scope location,
IClass context,
boolean referencePhase)
Resolves a unary expression. |
private IClass |
Resolver.resolveArithmeticExpression(SymTabAST expression,
Scope location,
IClass context,
boolean referencePhase)
Resolves an arithmetic expression. |
private IClass |
Resolver.resolveInstanceOf(SymTabAST expression,
Scope location,
IClass context,
boolean referencePhase)
resolves references in an instanceof expression |
private IClass |
Resolver.resolveGoto(SymTabAST expression,
Scope location,
IClass context,
boolean referencePhase)
resolves references in a a break statement |
private IClass |
Resolver.resolvePrimitiveType(SymTabAST primitive,
Scope location,
IClass context,
boolean referencePhase)
|
private IClass |
Resolver.resolveNumInt(SymTabAST expression,
Scope location,
IClass context)
Returns the ClassDef of the int primitive type. |
private IClass |
Resolver.resolveNumFloat(SymTabAST expression,
Scope location,
IClass context)
Returns the ClassDef type of the float primitive type. |
private IClass |
Resolver.resolveStringLiteral(SymTabAST expression,
Scope location,
IClass context)
Returns the ClassDef type of a string literal |
private IClass |
Resolver.resolveCharLiteral(SymTabAST expression,
Scope location,
IClass context)
Returns the ClassDef type of a character literal |
private IClass |
Resolver.resolveBooleanLiteral(SymTabAST expression,
Scope location,
IClass context)
Describe resolveBooleanLiteral method here. |
private IClass |
Resolver.resolveBooleanUnary(SymTabAST expression,
Scope location,
IClass context,
boolean referencePhase)
|
private void |
Resolver.resolveArrayInitializer(SymTabAST initializerNode,
Scope location,
IClass context,
boolean referencePhase)
Resolves a constructor call. |
private void |
Resolver.resolveThrowExpression(SymTabAST throwNode,
Scope location,
IClass context,
boolean referencePhase)
Resolves a constructor call. |
private IClass |
Resolver.resolveShiftOperator(SymTabAST expression,
Scope location,
IClass context,
boolean referencePhase)
|
private IClass |
Resolver.resolveBitwiseNot(SymTabAST expression,
Scope location,
IClass context,
boolean referencePhase)
|
protected void |
ReferenceTool.walkChildren(SymTabAST node)
|
private void |
ReferenceTool.walkSelfAndSiblings(SymTabAST node)
|
protected abstract void |
ReferenceTool.handleNode(SymTabAST node)
|
protected void |
ReferenceThreshold.handleNode(SymTabAST node)
|
protected void |
ReferenceCounter.handleNode(SymTabAST node)
|
private void |
DotIterator.makeNodes(SymTabAST node)
|
static int |
ASTUtil.getLine(SymTabAST tree)
gets a line number for the tree; if the current SymTabAST node does not have one associated with it, traverse its children until a line number is found. |
static int |
ASTUtil.getColumn(SymTabAST tree)
gets a column number for the tree; if the current SymTabAST node does not have one associated with it, traverse its children until a column number is found. |
private static ClassDef |
ASTUtil.getType(SymTabAST tree,
SymbolTable symbolTable)
Builds a ClassDef based on the the Node of tpye JavaTokenType.TYPE in the SymTabAST and returns this. |
static java.lang.String |
ASTUtil.constructDottedName(SymTabAST tree)
Builds the dotted name String representation of the object contained within the SymTabAST. |
static java.lang.String |
ASTUtil.constructPackage(SymTabAST tree)
Returns the Package name in the hierarchy represented by the SymTabAST. |
static java.lang.String |
ASTUtil.constructClass(SymTabAST tree)
Returns the top Class name in the hierarchy represented by the SymTabAST. |
static boolean |
ASTUtil.treesBelowFilesAreEqual(SymTabAST firstRoot,
java.io.File[] firstFiles,
SymTabAST secondRoot,
java.io.File[] secondFiles)
|
static SymTabAST |
ASTUtil.getFileNode(SymTabAST root,
java.io.File file)
|
void |
ASTManager.put(antlr.collections.AST aAST,
SymTabAST aSymTabAST)
Maps a AST to its associated SymTabAST. |
|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> checks >> usage >> [ transmogrify overview ] | PREV NEXT | ||||||||