Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Uses of Class
com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope

Uses of Scope in com.puppycrawl.tools.checkstyle.checks.usage.transmogrify
 

Subclasses of Scope in com.puppycrawl.tools.checkstyle.checks.usage.transmogrify
 class AnonymousInnerClass
           
 class BaseScope
          the bottom scope of the scope stack, contains some extra information to make resolution easier.
 class BlockDef
          BlockDef is a Scope which contains information about everything that defines a nameless block of java code.
 class ClassDef
          ClassDef contains all the information needed to represent a java class or interface.
 class DefaultConstructor
           
 class DefaultScope
           
 class MethodDef
          MethodDef contains all the pertinent information for a method, including return type, formal parameters, and exceptions thrown
 class PackageDef
          PackageDef contains all pertinent information about a package.
 

Fields in com.puppycrawl.tools.checkstyle.checks.usage.transmogrify declared as Scope
private  Scope SymTabAST._scope
           
private  Scope Definition._parentScope
           
 

Methods in com.puppycrawl.tools.checkstyle.checks.usage.transmogrify that return Scope
 Scope SymTabAST.getScope()
          gets the scope of this node
 Scope SymbolTable.getCurrentScope()
          returns the current scope.
 Scope SymbolTable.popScope()
          pops a scope from the stack.
 Scope ScopeIndex.lookup(Occurrence occ)
          returns the most specific Scope to which the specified Occurence belongs.
 Scope ScopeIndex.findScope(java.util.Vector scopeList, Occurrence occ)
          returns the most specific Scope to which the specified Occurence belongs from the specified Vector of Scopes.
 Scope Definition.getParentScope()
          Returns the scope in which this definition is defined
 

Methods in com.puppycrawl.tools.checkstyle.checks.usage.transmogrify with parameters of type Scope
private  void TableMaker.finishCreatingChildren(Scope scope)
          iterates through all the definitions in the Scope finishes creating each Scope.
private  PackageDef TableMaker.getPackage(Scope parent, SymTabAST tree)
          gets the package determined by the tree and parent package def.
 VariableDef TableMaker.makeVariableDef(SymTabAST tree, Scope scope)
          creates VariableDef based on the current tree node and scope
 void SymTabAST.setScope(Scope scope)
          sets the scope of this node
 void SymTabAST.setDefinition(IDefinition definition, Scope scope)
          sets Definition for this node
 void SymTabAST.setDefinition(IDefinition definition, Scope scope, boolean createReference)
          sets Definition for this node and adds Reference to the _definition and scope
 void SymbolTable.pushScope(Scope scope)
          pushes a new scope onto the stack
 void SymbolTable.definePackage(PackageDef pkg, Scope parent)
          adds PackageDef to its parent scope and stores the PackageDef in packages
 void SymbolTable.indexScope(Scope scope)
          places a scope in the symbol table's index
 void ScopeIndex.addScope(Scope scope)
          adds a Scope to the ScopeIndex for searching.
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"
 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 other than DOT
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)
           
private  void DefinitionTraverser.traverseChildren(Scope scope)
           
 

Constructors in com.puppycrawl.tools.checkstyle.checks.usage.transmogrify with parameters of type Scope
VariableDef(java.lang.String name, Scope parentScope, SymTabAST node)
           
Scope(java.lang.String name, Scope parentScope, SymTabAST node)
           
PackageDef(java.lang.String name, Scope parentScope, SymTabAST node)
           
MethodDef(java.lang.String name, Scope parentScope, SymTabAST node)
           
LabelDef(java.lang.String name, Scope parentScope, SymTabAST node)
           
Definition(java.lang.String name, Scope parentScope, SymTabAST node)
           
DefaultScope(java.lang.String name, Scope parentScope, SymTabAST node)
           
ClassDef(java.lang.String name, Scope parentScope, SymTabAST node)
           
BlockDef(Scope parentScope, SymTabAST node)
           
AnonymousInnerClass(SymTabAST objblock, SymTabAST classExtended, Scope parentScope)