ASTNode
::= CompilationUnit
*;- Type Hierarchy:
java.lang.Object beaver.Symbol org.extendj.ast.ASTNode<ASTNode> org.extendj.ast.Program
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Iterable<ASTNode>, org.jastadd.util.PrettyPrintable
|
|||||||
FRAMES NO FRAMES |
ASTNode
::= CompilationUnit
*;java.lang.Object beaver.Symbol org.extendj.ast.ASTNode<ASTNode> org.extendj.ast.Program
/home/jesper/git/extendj/java4/grammar/Java.ast
at line 1
public Program(List<CompilationUnit> p0)
/home/jesper/git/extendj/ASTNode
at line 15
@ASTNodeAnnotation.Attribute syn CompilationUnit getCompilationUnit(java.lang.String typeName)
This method is called by the LibCompilationUnit NTA. We rely on the result of this method being cached because it will return a newly parsed compilation unit each time it is called.
/home/jesper/git/extendj/java4/frontend/ClassPath.jrag
at line 385
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 37
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 38
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 39
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 45
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 46
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 47
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 48
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 49
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 50
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 51
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 52
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 53
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 65
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 68
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 71
@ASTNodeAnnotation.Attribute syn boolean hasPackage(java.lang.String packageName)
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 102
@ASTNodeAnnotation.Attribute syn TypeDecl lookupType(java.lang.String packageName, java.lang.String typeName)
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 148
@ASTNodeAnnotation.Attribute syn CompilationUnit getLibCompilationUnit(java.lang.String typeName)
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 282
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 285
/home/jesper/git/extendj/java4/frontend/PrimitiveTypes.jrag
at line 140
/home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag
at line 269
/home/jesper/git/extendj/java5/frontend/Generics.jrag
at line 1464
public void initBytecodeReader(BytecodeReader r)
/home/jesper/git/extendj/java4/frontend/ClassPath.jrag
at line 52
public void initJavaParser(JavaParser p)
/home/jesper/git/extendj/java4/frontend/ClassPath.jrag
at line 58
public CompilationUnit addSourceFile(java.lang.String fileName) throws java.io.IOException
fileName
- file name of the source file
null
if the source file could not be parsed
java.io.IOException
/home/jesper/git/extendj/java4/frontend/ClassPath.jrag
at line 89
public java.util.Iterator<CompilationUnit> compilationUnitIterator()
/home/jesper/git/extendj/java4/frontend/ClassPath.jrag
at line 102
public java.io.InputStream getInputStream(java.lang.String name)
name
- The canonical name of the compilation unit.
/home/jesper/git/extendj/java4/frontend/ClassPath.jrag
at line 125
public boolean isPackage(java.lang.String packageName)
true
if there is a package with the given name on
the classpath
/home/jesper/git/extendj/java4/frontend/ClassPath.jrag
at line 392
public void addClassPath(PathPart pathPart)
/home/jesper/git/extendj/java4/frontend/ClassPath.jrag
at line 412
public void addSourcePath(PathPart pathPart)
/home/jesper/git/extendj/java4/frontend/ClassPath.jrag
at line 419
public void resetStatistics()
/home/jesper/git/extendj/java4/frontend/FrontendMain.jrag
at line 47
public void printStatistics(java.io.PrintStream out)
/home/jesper/git/extendj/java4/frontend/FrontendMain.jrag
at line 56
public java.util.Map<java.lang.String,CompilationUnit> getLibCompilationUnitValueMap()
/home/jesper/git/extendj/java4/frontend/LibCompilationUnits.jadd
at line 32
protected TypeDecl lookupSourceType(java.lang.String packageName, java.lang.String typeName)
Invoking this method may cause more than just the specified type to be loaded, for example if there exists other types in the same source file, the additional types are also loaded and cached for the next lookup.
This method is not an attribute due to the necessary side-effects caused by loading and caching of extra types.
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 177
protected TypeDecl lookupLibraryType(java.lang.String packageName, java.lang.String typeName)
Invoking this method may cause more than just the specified type to be loaded, for example if there exists other types in the same source file, the additional types are also loaded and cached for the next lookup.
This method is not an attribute due to the necessary side-effects caused by loading and caching of extra types.
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 229
/home/jesper/git/extendj/java4/frontend/Options.jadd
at line 35
public void prettyPrint(org.jastadd.util.PrettyPrinter out)
prettyPrint
in interface org.jastadd.util.PrettyPrintable
Overrides:prettyPrint
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/PrettyPrintUtil.jrag
at line 79
public void generateClassfile()
/home/jesper/git/extendj/java4/backend/GenerateClassfile.jrag
at line 32
init$Children
in class ASTNode<ASTNode>
/home/jesper/git/extendj/ASTNode
at line 11
numChildren
in class ASTNode<ASTNode>
/home/jesper/git/extendj/ASTNode
at line 22
mayHaveRewrite
in class ASTNode<ASTNode>
/home/jesper/git/extendj/ASTNode
at line 28
flushAttrCache
in class ASTNode<ASTNode>
/home/jesper/git/extendj/ASTNode
at line 34
flushCollectionCache
in class ASTNode<ASTNode>
/home/jesper/git/extendj/ASTNode
at line 63
flushRewriteCache
in class ASTNode<ASTNode>
/home/jesper/git/extendj/ASTNode
at line 70
public Program clone() throws java.lang.CloneNotSupportedException
public Program copy()
@Deprecated public Program fullCopy()
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
/home/jesper/git/extendj/ASTNode
at line 102
public Program treeCopyNoTransform()
treeCopyNoTransform
in class ASTNode<ASTNode>
/home/jesper/git/extendj/ASTNode
at line 112
public Program treeCopy()
/home/jesper/git/extendj/ASTNode
at line 132
protected boolean is$Equal(ASTNode node)
public void setCompilationUnitList(List<CompilationUnit> list)
list
- The new list node to be used as the CompilationUnit list.public int getNumCompilationUnit()
public int getNumCompilationUnitNoTransform()
public CompilationUnit getCompilationUnit(int i)
i
in the CompilationUnit list.i
- Index of the element to return.
i
in the CompilationUnit list.public boolean hasCompilationUnit()
true
if it has at least one child, false
otherwise.public void addCompilationUnit(CompilationUnit node)
node
- The element to append to the CompilationUnit list.public void addCompilationUnitNoTransform(CompilationUnit node)
public void setCompilationUnit(CompilationUnit node, int i)
i
with the new node node
.node
- The new node to replace the old list element.i
- The list index of the node to be replaced.@ASTNodeAnnotation.ListChild(name="CompilationUnit") public List<CompilationUnit> getCompilationUnitList()
This method does not invoke AST transformations.
public List<CompilationUnit> getCompilationUnits()
This method does not invoke AST transformations.
protected void collect_contributors_BlockLambdaBody_lambdaReturns()
public TypeDecl Define_superType(ASTNode caller, ASTNode child)
Define_superType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/AnonymousClasses.jrag
at line 33
protected boolean canDefine_superType(ASTNode caller, ASTNode child)
public ConstructorDecl Define_constructorDecl(ASTNode caller, ASTNode child)
Define_constructorDecl
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/AnonymousClasses.jrag
at line 37
protected boolean canDefine_constructorDecl(ASTNode caller, ASTNode child)
public TypeDecl Define_componentType(ASTNode caller, ASTNode child)
Define_componentType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/Arrays.jrag
at line 42
protected boolean canDefine_componentType(ASTNode caller, ASTNode child)
public LabeledStmt Define_lookupLabel(ASTNode caller, ASTNode child, java.lang.String name)
Define_lookupLabel
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/BranchTarget.jrag
at line 250
protected boolean canDefine_lookupLabel(ASTNode caller, ASTNode child, java.lang.String name)
public int Define_blockIndex(ASTNode caller, ASTNode child)
Define_blockIndex
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/DeclareBeforeUse.jrag
at line 34
protected boolean canDefine_blockIndex(ASTNode caller, ASTNode child)
public boolean Define_isDest(ASTNode caller, ASTNode child)
Define_isDest
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag
at line 37
protected boolean canDefine_isDest(ASTNode caller, ASTNode child)
public boolean Define_isSource(ASTNode caller, ASTNode child)
Define_isSource
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag
at line 47
protected boolean canDefine_isSource(ASTNode caller, ASTNode child)
public boolean Define_isIncOrDec(ASTNode caller, ASTNode child)
Define_isIncOrDec
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag
at line 71
protected boolean canDefine_isIncOrDec(ASTNode caller, ASTNode child)
public boolean Define_isDAbefore(ASTNode caller, ASTNode child, org.extendj.ast.Variable v)
Define_isDAbefore
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag
at line 255
protected boolean canDefine_isDAbefore(ASTNode caller, ASTNode child, org.extendj.ast.Variable v)
public boolean Define_isDUbefore(ASTNode caller, ASTNode child, org.extendj.ast.Variable v)
Define_isDUbefore
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag
at line 779
protected boolean canDefine_isDUbefore(ASTNode caller, ASTNode child, org.extendj.ast.Variable v)
public TypeDecl Define_typeException(ASTNode caller, ASTNode child)
Define_typeException
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/ExceptionHandling.jrag
at line 41
protected boolean canDefine_typeException(ASTNode caller, ASTNode child)
public TypeDecl Define_typeRuntimeException(ASTNode caller, ASTNode child)
Define_typeRuntimeException
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/TryWithResources.jrag
at line 141
protected boolean canDefine_typeRuntimeException(ASTNode caller, ASTNode child)
public TypeDecl Define_typeError(ASTNode caller, ASTNode child)
Define_typeError
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/TryWithResources.jrag
at line 140
protected boolean canDefine_typeError(ASTNode caller, ASTNode child)
public TypeDecl Define_typeNullPointerException(ASTNode caller, ASTNode child)
Define_typeNullPointerException
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/ExceptionHandling.jrag
at line 47
protected boolean canDefine_typeNullPointerException(ASTNode caller, ASTNode child)
public TypeDecl Define_typeThrowable(ASTNode caller, ASTNode child)
Define_typeThrowable
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 93
protected boolean canDefine_typeThrowable(ASTNode caller, ASTNode child)
public boolean Define_handlesException(ASTNode caller, ASTNode child, TypeDecl exceptionType)
Define_handlesException
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/TryWithResources.jrag
at line 113
protected boolean canDefine_handlesException(ASTNode caller, ASTNode child, TypeDecl exceptionType)
public java.util.Collection Define_lookupConstructor(ASTNode caller, ASTNode child)
Define_lookupConstructor
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag
at line 35
protected boolean canDefine_lookupConstructor(ASTNode caller, ASTNode child)
public java.util.Collection Define_lookupSuperConstructor(ASTNode caller, ASTNode child)
Define_lookupSuperConstructor
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupConstructor.jrag
at line 40
protected boolean canDefine_lookupSuperConstructor(ASTNode caller, ASTNode child)
public Expr Define_nestedScope(ASTNode caller, ASTNode child)
Define_nestedScope
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupMethod.jrag
at line 40
protected boolean canDefine_nestedScope(ASTNode caller, ASTNode child)
public java.util.Collection Define_lookupMethod(ASTNode caller, ASTNode child, java.lang.String name)
Define_lookupMethod
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupMethod.jrag
at line 46
protected boolean canDefine_lookupMethod(ASTNode caller, ASTNode child, java.lang.String name)
public TypeDecl Define_typeObject(ASTNode caller, ASTNode child)
Define_typeObject
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/Generics.jrag
at line 1092
protected boolean canDefine_typeObject(ASTNode caller, ASTNode child)
public TypeDecl Define_typeCloneable(ASTNode caller, ASTNode child)
Define_typeCloneable
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag
at line 162
protected boolean canDefine_typeCloneable(ASTNode caller, ASTNode child)
public TypeDecl Define_typeSerializable(ASTNode caller, ASTNode child)
Define_typeSerializable
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag
at line 161
protected boolean canDefine_typeSerializable(ASTNode caller, ASTNode child)
public TypeDecl Define_typeBoolean(ASTNode caller, ASTNode child)
Define_typeBoolean
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 74
protected boolean canDefine_typeBoolean(ASTNode caller, ASTNode child)
public TypeDecl Define_typeByte(ASTNode caller, ASTNode child)
Define_typeByte
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 75
protected boolean canDefine_typeByte(ASTNode caller, ASTNode child)
public TypeDecl Define_typeShort(ASTNode caller, ASTNode child)
Define_typeShort
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 76
protected boolean canDefine_typeShort(ASTNode caller, ASTNode child)
public TypeDecl Define_typeChar(ASTNode caller, ASTNode child)
Define_typeChar
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 77
protected boolean canDefine_typeChar(ASTNode caller, ASTNode child)
public TypeDecl Define_typeInt(ASTNode caller, ASTNode child)
Define_typeInt
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 86
protected boolean canDefine_typeInt(ASTNode caller, ASTNode child)
public TypeDecl Define_typeLong(ASTNode caller, ASTNode child)
Define_typeLong
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 88
protected boolean canDefine_typeLong(ASTNode caller, ASTNode child)
public TypeDecl Define_typeFloat(ASTNode caller, ASTNode child)
Define_typeFloat
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 80
protected boolean canDefine_typeFloat(ASTNode caller, ASTNode child)
public TypeDecl Define_typeDouble(ASTNode caller, ASTNode child)
Define_typeDouble
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 81
protected boolean canDefine_typeDouble(ASTNode caller, ASTNode child)
public TypeDecl Define_typeString(ASTNode caller, ASTNode child)
Define_typeString
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/Enums.jrag
at line 466
protected boolean canDefine_typeString(ASTNode caller, ASTNode child)
public TypeDecl Define_typeVoid(ASTNode caller, ASTNode child)
Define_typeVoid
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 83
protected boolean canDefine_typeVoid(ASTNode caller, ASTNode child)
public TypeDecl Define_typeNull(ASTNode caller, ASTNode child)
Define_typeNull
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/Generics.jrag
at line 1141
protected boolean canDefine_typeNull(ASTNode caller, ASTNode child)
public TypeDecl Define_unknownType(ASTNode caller, ASTNode child)
Define_unknownType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java8/frontend/TypeCheck.jrag
at line 31
protected boolean canDefine_unknownType(ASTNode caller, ASTNode child)
public boolean Define_hasPackage(ASTNode caller, ASTNode child, java.lang.String packageName)
Define_hasPackage
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 115
protected boolean canDefine_hasPackage(ASTNode caller, ASTNode child, java.lang.String packageName)
public TypeDecl Define_lookupType(ASTNode caller, ASTNode child, java.lang.String packageName, java.lang.String typeName)
Define_lookupType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/TryWithResources.jrag
at line 40
protected boolean canDefine_lookupType(ASTNode caller, ASTNode child, java.lang.String packageName, java.lang.String typeName)
public org.extendj.ast.SimpleSet Define_lookupType(ASTNode caller, ASTNode child, java.lang.String name)
Define_lookupType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/GenericMethods.jrag
at line 197
protected boolean canDefine_lookupType(ASTNode caller, ASTNode child, java.lang.String name)
public org.extendj.ast.SimpleSet Define_lookupVariable(ASTNode caller, ASTNode child, java.lang.String name)
Define_lookupVariable
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java8/frontend/LookupVariable.jrag
at line 30
protected boolean canDefine_lookupVariable(ASTNode caller, ASTNode child, java.lang.String name)
public boolean Define_mayBePublic(ASTNode caller, ASTNode child)
Define_mayBePublic
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/Modifiers.jrag
at line 419
protected boolean canDefine_mayBePublic(ASTNode caller, ASTNode child)
public boolean Define_mayBeProtected(ASTNode caller, ASTNode child)
Define_mayBeProtected
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/Modifiers.jrag
at line 421
protected boolean canDefine_mayBeProtected(ASTNode caller, ASTNode child)
public boolean Define_mayBePrivate(ASTNode caller, ASTNode child)
Define_mayBePrivate
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/Modifiers.jrag
at line 420
protected boolean canDefine_mayBePrivate(ASTNode caller, ASTNode child)
public boolean Define_mayBeStatic(ASTNode caller, ASTNode child)
Define_mayBeStatic
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/Modifiers.jrag
at line 422
protected boolean canDefine_mayBeStatic(ASTNode caller, ASTNode child)
public boolean Define_mayBeFinal(ASTNode caller, ASTNode child)
Define_mayBeFinal
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/Modifiers.jrag
at line 423
protected boolean canDefine_mayBeFinal(ASTNode caller, ASTNode child)
public boolean Define_mayBeAbstract(ASTNode caller, ASTNode child)
Define_mayBeAbstract
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/Modifiers.jrag
at line 424
protected boolean canDefine_mayBeAbstract(ASTNode caller, ASTNode child)
public boolean Define_mayBeVolatile(ASTNode caller, ASTNode child)
Define_mayBeVolatile
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/Modifiers.jrag
at line 425
protected boolean canDefine_mayBeVolatile(ASTNode caller, ASTNode child)
public boolean Define_mayBeTransient(ASTNode caller, ASTNode child)
Define_mayBeTransient
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/Modifiers.jrag
at line 426
protected boolean canDefine_mayBeTransient(ASTNode caller, ASTNode child)
public boolean Define_mayBeStrictfp(ASTNode caller, ASTNode child)
Define_mayBeStrictfp
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/Modifiers.jrag
at line 427
protected boolean canDefine_mayBeStrictfp(ASTNode caller, ASTNode child)
public boolean Define_mayBeSynchronized(ASTNode caller, ASTNode child)
Define_mayBeSynchronized
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/Modifiers.jrag
at line 428
protected boolean canDefine_mayBeSynchronized(ASTNode caller, ASTNode child)
public boolean Define_mayBeNative(ASTNode caller, ASTNode child)
Define_mayBeNative
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/Modifiers.jrag
at line 429
protected boolean canDefine_mayBeNative(ASTNode caller, ASTNode child)
public ASTNode Define_enclosingBlock(ASTNode caller, ASTNode child)
Define_enclosingBlock
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/NameCheck.jrag
at line 310
protected boolean canDefine_enclosingBlock(ASTNode caller, ASTNode child)
public org.extendj.ast.VariableScope Define_outerScope(ASTNode caller, ASTNode child)
Define_outerScope
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java8/frontend/NameCheck.jrag
at line 30
protected boolean canDefine_outerScope(ASTNode caller, ASTNode child)
public boolean Define_insideLoop(ASTNode caller, ASTNode child)
Define_insideLoop
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/NameCheck.jrag
at line 441
protected boolean canDefine_insideLoop(ASTNode caller, ASTNode child)
public boolean Define_insideSwitch(ASTNode caller, ASTNode child)
Define_insideSwitch
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/NameCheck.jrag
at line 449
protected boolean canDefine_insideSwitch(ASTNode caller, ASTNode child)
public Case Define_bind(ASTNode caller, ASTNode child, Case c)
Define_bind
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/NameCheck.jrag
at line 496
protected boolean canDefine_bind(ASTNode caller, ASTNode child, Case c)
public Program Define_program(ASTNode caller, ASTNode child)
Define_program
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/Options.jadd
at line 39
protected boolean canDefine_program(ASTNode caller, ASTNode child)
public org.extendj.ast.NameType Define_nameType(ASTNode caller, ASTNode child)
Define_nameType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/SyntacticClassification.jrag
at line 36
protected boolean canDefine_nameType(ASTNode caller, ASTNode child)
public boolean Define_isAnonymous(ASTNode caller, ASTNode child)
Define_isAnonymous
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag
at line 240
protected boolean canDefine_isAnonymous(ASTNode caller, ASTNode child)
public org.extendj.ast.Variable Define_unknownField(ASTNode caller, ASTNode child)
Define_unknownField
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/LookupVariable.jrag
at line 334
protected boolean canDefine_unknownField(ASTNode caller, ASTNode child)
public MethodDecl Define_unknownMethod(ASTNode caller, ASTNode child)
Define_unknownMethod
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java8/frontend/MethodReference.jrag
at line 30
protected boolean canDefine_unknownMethod(ASTNode caller, ASTNode child)
public ConstructorDecl Define_unknownConstructor(ASTNode caller, ASTNode child)
Define_unknownConstructor
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java8/frontend/ConstructorReference.jrag
at line 29
protected boolean canDefine_unknownConstructor(ASTNode caller, ASTNode child)
public TypeDecl Define_declType(ASTNode caller, ASTNode child)
Define_declType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/Annotations.jrag
at line 601
protected boolean canDefine_declType(ASTNode caller, ASTNode child)
public BodyDecl Define_enclosingBodyDecl(ASTNode caller, ASTNode child)
Define_enclosingBodyDecl
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java8/frontend/NameCheck.jrag
at line 29
protected boolean canDefine_enclosingBodyDecl(ASTNode caller, ASTNode child)
public boolean Define_isMemberType(ASTNode caller, ASTNode child)
Define_isMemberType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/TypeAnalysis.jrag
at line 577
protected boolean canDefine_isMemberType(ASTNode caller, ASTNode child)
public TypeDecl Define_hostType(ASTNode caller, ASTNode child)
Define_hostType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/MultiCatch.jrag
at line 71
protected boolean canDefine_hostType(ASTNode caller, ASTNode child)
public TypeDecl Define_switchType(ASTNode caller, ASTNode child)
Define_switchType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/TypeCheck.jrag
at line 420
protected boolean canDefine_switchType(ASTNode caller, ASTNode child)
public TypeDecl Define_returnType(ASTNode caller, ASTNode child)
Define_returnType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/TypeCheck.jrag
at line 472
protected boolean canDefine_returnType(ASTNode caller, ASTNode child)
public TypeDecl Define_enclosingInstance(ASTNode caller, ASTNode child)
Define_enclosingInstance
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/TypeCheck.jrag
at line 586
protected boolean canDefine_enclosingInstance(ASTNode caller, ASTNode child)
public java.lang.String Define_methodHost(ASTNode caller, ASTNode child)
Define_methodHost
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/TypeHierarchyCheck.jrag
at line 32
protected boolean canDefine_methodHost(ASTNode caller, ASTNode child)
public boolean Define_inExplicitConstructorInvocation(ASTNode caller, ASTNode child)
Define_inExplicitConstructorInvocation
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/TypeHierarchyCheck.jrag
at line 165
protected boolean canDefine_inExplicitConstructorInvocation(ASTNode caller, ASTNode child)
public TypeDecl Define_enclosingExplicitConstructorHostType(ASTNode caller, ASTNode child)
Define_enclosingExplicitConstructorHostType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/TypeHierarchyCheck.jrag
at line 173
protected boolean canDefine_enclosingExplicitConstructorHostType(ASTNode caller, ASTNode child)
public boolean Define_inStaticContext(ASTNode caller, ASTNode child)
Define_inStaticContext
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/frontend/TypeHierarchyCheck.jrag
at line 182
protected boolean canDefine_inStaticContext(ASTNode caller, ASTNode child)
public boolean Define_reportUnreachable(ASTNode caller, ASTNode child)
Define_reportUnreachable
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/PreciseRethrow.jrag
at line 283
protected boolean canDefine_reportUnreachable(ASTNode caller, ASTNode child)
public boolean Define_isMethodParameter(ASTNode caller, ASTNode child)
Define_isMethodParameter
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/MultiCatch.jrag
at line 44
protected boolean canDefine_isMethodParameter(ASTNode caller, ASTNode child)
public boolean Define_isConstructorParameter(ASTNode caller, ASTNode child)
Define_isConstructorParameter
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/MultiCatch.jrag
at line 45
protected boolean canDefine_isConstructorParameter(ASTNode caller, ASTNode child)
public boolean Define_isExceptionHandlerParameter(ASTNode caller, ASTNode child)
Define_isExceptionHandlerParameter
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/MultiCatch.jrag
at line 46
protected boolean canDefine_isExceptionHandlerParameter(ASTNode caller, ASTNode child)
public int Define_variableScopeEndLabel(ASTNode caller, ASTNode child, org.extendj.ast.CodeGeneration gen)
Define_variableScopeEndLabel
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/backend/CodeGeneration.jrag
at line 67
protected boolean canDefine_variableScopeEndLabel(ASTNode caller, ASTNode child, org.extendj.ast.CodeGeneration gen)
public TypeDecl Define_expectedType(ASTNode caller, ASTNode child)
Define_expectedType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/backend/InnerClasses.jrag
at line 93
protected boolean canDefine_expectedType(ASTNode caller, ASTNode child)
public int Define_localNum(ASTNode caller, ASTNode child)
Define_localNum
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/backend/MultiCatch.jrag
at line 64
protected boolean canDefine_localNum(ASTNode caller, ASTNode child)
public int Define_resultSaveLocalNum(ASTNode caller, ASTNode child)
Define_resultSaveLocalNum
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java4/backend/LocalNum.jrag
at line 101
protected boolean canDefine_resultSaveLocalNum(ASTNode caller, ASTNode child)
public boolean Define_mayUseAnnotationTarget(ASTNode caller, ASTNode child, java.lang.String name)
Define_mayUseAnnotationTarget
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/Annotations.jrag
at line 96
protected boolean canDefine_mayUseAnnotationTarget(ASTNode caller, ASTNode child, java.lang.String name)
public ElementValue Define_lookupElementTypeValue(ASTNode caller, ASTNode child, java.lang.String name)
Define_lookupElementTypeValue
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/Annotations.jrag
at line 224
protected boolean canDefine_lookupElementTypeValue(ASTNode caller, ASTNode child, java.lang.String name)
public boolean Define_withinSuppressWarnings(ASTNode caller, ASTNode child, java.lang.String annot)
Define_withinSuppressWarnings
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/SuppressWarnings.jrag
at line 38
protected boolean canDefine_withinSuppressWarnings(ASTNode caller, ASTNode child, java.lang.String annot)
public boolean Define_withinDeprecatedAnnotation(ASTNode caller, ASTNode child)
Define_withinDeprecatedAnnotation
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/Annotations.jrag
at line 449
protected boolean canDefine_withinDeprecatedAnnotation(ASTNode caller, ASTNode child)
public Annotation Define_lookupAnnotation(ASTNode caller, ASTNode child, TypeDecl typeDecl)
Define_lookupAnnotation
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/Annotations.jrag
at line 504
protected boolean canDefine_lookupAnnotation(ASTNode caller, ASTNode child, TypeDecl typeDecl)
public TypeDecl Define_enclosingAnnotationDecl(ASTNode caller, ASTNode child)
Define_enclosingAnnotationDecl
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/Annotations.jrag
at line 544
protected boolean canDefine_enclosingAnnotationDecl(ASTNode caller, ASTNode child)
public TypeDecl Define_assignConvertedType(ASTNode caller, ASTNode child)
Define_assignConvertedType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/GenericMethodsInference.jrag
at line 58
protected boolean canDefine_assignConvertedType(ASTNode caller, ASTNode child)
public boolean Define_inExtendsOrImplements(ASTNode caller, ASTNode child)
Define_inExtendsOrImplements
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/Generics.jrag
at line 338
protected boolean canDefine_inExtendsOrImplements(ASTNode caller, ASTNode child)
public TypeDecl Define_typeWildcard(ASTNode caller, ASTNode child)
Define_typeWildcard
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/Generics.jrag
at line 1480
protected boolean canDefine_typeWildcard(ASTNode caller, ASTNode child)
public TypeDecl Define_lookupWildcardExtends(ASTNode caller, ASTNode child, TypeDecl typeDecl)
Define_lookupWildcardExtends
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/Generics.jrag
at line 1479
protected boolean canDefine_lookupWildcardExtends(ASTNode caller, ASTNode child, TypeDecl typeDecl)
public TypeDecl Define_lookupWildcardSuper(ASTNode caller, ASTNode child, TypeDecl typeDecl)
Define_lookupWildcardSuper
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/Generics.jrag
at line 1478
protected boolean canDefine_lookupWildcardSuper(ASTNode caller, ASTNode child, TypeDecl typeDecl)
public LUBType Define_lookupLUBType(ASTNode caller, ASTNode child, java.util.Collection bounds)
Define_lookupLUBType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/MultiCatch.jrag
at line 167
protected boolean canDefine_lookupLUBType(ASTNode caller, ASTNode child, java.util.Collection bounds)
public GLBType Define_lookupGLBType(ASTNode caller, ASTNode child, java.util.ArrayList bounds)
Define_lookupGLBType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/Generics.jrag
at line 1580
protected boolean canDefine_lookupGLBType(ASTNode caller, ASTNode child, java.util.ArrayList bounds)
public TypeDecl Define_genericDecl(ASTNode caller, ASTNode child)
Define_genericDecl
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/GenericsParTypeDecl.jrag
at line 71
protected boolean canDefine_genericDecl(ASTNode caller, ASTNode child)
public boolean Define_variableArityValid(ASTNode caller, ASTNode child)
Define_variableArityValid
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java5/frontend/VariableArityParameters.jrag
at line 48
protected boolean canDefine_variableArityValid(ASTNode caller, ASTNode child)
public ClassInstanceExpr Define_getClassInstanceExpr(ASTNode caller, ASTNode child)
Define_getClassInstanceExpr
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/Diamond.jrag
at line 90
protected boolean canDefine_getClassInstanceExpr(ASTNode caller, ASTNode child)
public boolean Define_isAnonymousDecl(ASTNode caller, ASTNode child)
Define_isAnonymousDecl
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/Diamond.jrag
at line 401
protected boolean canDefine_isAnonymousDecl(ASTNode caller, ASTNode child)
public boolean Define_isExplicitGenericConstructorAccess(ASTNode caller, ASTNode child)
Define_isExplicitGenericConstructorAccess
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/Diamond.jrag
at line 417
protected boolean canDefine_isExplicitGenericConstructorAccess(ASTNode caller, ASTNode child)
public boolean Define_isCatchParam(ASTNode caller, ASTNode child)
Define_isCatchParam
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/PreciseRethrow.jrag
at line 206
protected boolean canDefine_isCatchParam(ASTNode caller, ASTNode child)
public CatchClause Define_catchClause(ASTNode caller, ASTNode child)
Define_catchClause
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/PreciseRethrow.jrag
at line 213
protected boolean canDefine_catchClause(ASTNode caller, ASTNode child)
public boolean Define_resourcePreviouslyDeclared(ASTNode caller, ASTNode child, java.lang.String name)
Define_resourcePreviouslyDeclared
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java7/frontend/TryWithResources.jrag
at line 183
protected boolean canDefine_resourcePreviouslyDeclared(ASTNode caller, ASTNode child, java.lang.String name)
public TypeDecl Define_targetType(ASTNode caller, ASTNode child)
Define_targetType
in class ASTNode<ASTNode>
/home/jesper/git/extendj/java8/frontend/TargetType.jrag
at line 30
protected boolean canDefine_targetType(ASTNode caller, ASTNode child)
protected BytecodeReader bytecodeReader
/home/jesper/git/extendj/java4/frontend/ClassPath.jrag
at line 50
protected JavaParser javaParser
/home/jesper/git/extendj/java4/frontend/ClassPath.jrag
at line 56
public long javaParseTime
/home/jesper/git/extendj/java4/frontend/FrontendMain.jrag
at line 37
public long bytecodeParseTime
/home/jesper/git/extendj/java4/frontend/FrontendMain.jrag
at line 38
public long codeGenTime
/home/jesper/git/extendj/java4/frontend/FrontendMain.jrag
at line 39
public long errorCheckTime
/home/jesper/git/extendj/java4/frontend/FrontendMain.jrag
at line 40
public int numJavaFiles
/home/jesper/git/extendj/java4/frontend/FrontendMain.jrag
at line 41
public int numClassFiles
/home/jesper/git/extendj/java4/frontend/FrontendMain.jrag
at line 42
public int classFileReadTime
/home/jesper/git/extendj/java4/frontend/LookupType.jrag
at line 135
/home/jesper/git/extendj/java4/frontend/Options.jadd
at line 34
protected java.util.Map getCompilationUnit_String_values
protected boolean typeObject_computed
protected TypeDecl typeObject_value
protected boolean typeCloneable_computed
protected TypeDecl typeCloneable_value
protected boolean typeSerializable_computed
protected TypeDecl typeSerializable_value
protected boolean typeBoolean_computed
protected TypeDecl typeBoolean_value
protected boolean typeByte_computed
protected TypeDecl typeByte_value
protected boolean typeShort_computed
protected TypeDecl typeShort_value
protected boolean typeChar_computed
protected TypeDecl typeChar_value
protected boolean typeInt_computed
protected TypeDecl typeInt_value
protected boolean typeLong_computed
protected TypeDecl typeLong_value
protected boolean typeFloat_computed
protected TypeDecl typeFloat_value
protected boolean typeDouble_computed
protected TypeDecl typeDouble_value
protected boolean typeString_computed
protected TypeDecl typeString_value
protected boolean typeVoid_computed
protected TypeDecl typeVoid_value
protected boolean typeNull_computed
protected TypeDecl typeNull_value
protected boolean unknownType_computed
protected TypeDecl unknownType_value
protected java.util.Map hasPackage_String_values
protected java.util.Map lookupType_String_String_values
protected List getLibCompilationUnit_String_list
protected java.util.Map getLibCompilationUnit_String_values
protected boolean emptyCompilationUnit_computed
protected CompilationUnit emptyCompilationUnit_value
protected boolean getPrimitiveCompilationUnit_computed
protected boolean unknownConstructor_computed
protected ConstructorDecl unknownConstructor_value
protected boolean wildcards_computed
protected WildcardsCompilationUnit wildcards_value
|
|||||||
FRAMES NO FRAMES |