org.aspectj.compiler.base.ast
Class Exprs
java.lang.Object
org.aspectj.compiler.base.CompilerObject
org.aspectj.compiler.base.ast.ASTObject
org.aspectj.compiler.base.ast.Expr
org.aspectj.compiler.base.ast.Exprs
- public class Exprs
- extends Expr
Exprs (ArrayInitializer?), Stmts, Decs, NameTypeDs, Formals
Fields inherited from class org.aspectj.compiler.base.ast.Expr |
type |
Constructor Summary |
Exprs()
|
Exprs(Expr child1)
|
Exprs(Expr[] _children)
|
Exprs(Expr child1,
Expr child2)
|
Exprs(Expr child1,
Expr child2,
Expr child3)
|
Exprs(int n)
|
Exprs(SourceLocation location)
|
Exprs(SourceLocation location,
Expr child1)
|
Exprs(SourceLocation location,
Expr[] _children)
|
Exprs(SourceLocation location,
Expr child1,
Expr child2)
|
Exprs(SourceLocation location,
Expr child1,
Expr child2,
Expr child3)
|
Exprs(SourceLocation source,
int n)
|
Methods inherited from class org.aspectj.compiler.base.ast.Expr |
assertType, canBeCopied, cgBuffer, cgEffect, cgTest, cgValue, cgValue, checkSpec, cleanup, getType, isAssignableTo, isConstantFalse, isConstantTrue, isConstantZero, isInConstructorCallExpr, isInExprStmt, isLegalStmt, isMethodConvertableTo, isUltimatelyLiteral, makeQualifiedThis, makeReference, postCopy, setType, showOperatorTypeError, showOperatorTypeError, walkCleanup, walkFrameLoc |
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject |
addComment, buildAccessMethod, checkNoSharing, clearComment, clearParent, contains, containsTypes, copy, display, fixAccessPost, fixAST, fromSource, getAST, getBeginColumn, getBeginLine, getBytecodeType, getBytecodeTypeDec, getComment, getCompilationUnit, getDeclaringType, getEnclosingCodeDec, getEnclosingDec, getEndColumn, getEndLine, getEndPosition, getFormalComment, getLexicalType, getOutermostBytecodeType, getOutermostLexicalType, getParent, getSourceDirectoryName, getSourceFile, getSourceFileName, getSourceLocation, getStartPosition, hasLegalProtectedAccess, hasSource, hasSourceLocation, implementMixin, indexOf, inStaticContext, isLanguageVisible, isLeaf, isSynthetic, makeChild, makeChild, postAssignmentCheck, postCleanup, postFixAST, postImplementMixin, postInnerAccess, postInnerInfo, postLift, postMove, postScope, postThreading, preAssignmentCheck, preCopy, preIntroduction, preLift, preMove, preScope, preThreading, remove, removeChildAt, replaceWith, setFormalComment, setParent, setParents, setSource, setSourceLocation, setSyntheticSource, showError, showMessage, showTypeError, showWarning, toShortString, toString, unparse, walk, walkAnalysis, walkAssignmentCheck, walkFlow, walkForwardReference, walkInnerInfo, walkMemberMunger, walkScope |
Methods inherited from class org.aspectj.compiler.base.CompilerObject |
getCompiler, getOptions, getTypeManager, getWorld |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
size
protected int size
children
public Expr[] children
Exprs
public Exprs(SourceLocation source,
int n)
Exprs
public Exprs(int n)
Exprs
public Exprs(SourceLocation location,
Expr[] _children)
Exprs
public Exprs(Expr[] _children)
Exprs
public Exprs(SourceLocation location)
Exprs
public Exprs()
Exprs
public Exprs(SourceLocation location,
Expr child1)
Exprs
public Exprs(Expr child1)
Exprs
public Exprs(SourceLocation location,
Expr child1,
Expr child2)
Exprs
public Exprs(Expr child1,
Expr child2)
Exprs
public Exprs(SourceLocation location,
Expr child1,
Expr child2,
Expr child3)
Exprs
public Exprs(Expr child1,
Expr child2,
Expr child3)
discoverType
public Type discoverType()
- Specified by:
discoverType
in class Expr
unparse
public void unparse(org.aspectj.compiler.base.CodeWriter writer)
throws java.io.IOException
- Overrides:
unparse
in class ASTObject
- Throws:
java.io.IOException
copyWalk
public ASTObject copyWalk(CopyWalker walker)
- Overrides:
copyWalk
in class ASTObject
getChildAt
public ASTObject getChildAt(int childIndex)
- Overrides:
getChildAt
in class ASTObject
setChildAt
public void setChildAt(int childIndex,
ASTObject child)
- Overrides:
setChildAt
in class ASTObject
getChildNameAt
public java.lang.String getChildNameAt(int childIndex)
- Overrides:
getChildNameAt
in class ASTObject
getChildCount
public int getChildCount()
- Overrides:
getChildCount
in class ASTObject
size
public int size()
get
public Expr get(int index)
set
public void set(int index,
Expr child)
resize
public void resize(int newSize)
addAll
public void addAll(Exprs collection)
addAll
public void addAll(int index,
Exprs collection)
addChildren
public Exprs addChildren(JavaExpr[] collection)
addChild
public Exprs addChild(Expr child)
add
public void add(Expr child)
add
public void add(int index,
Expr child)
remove
public void remove(int index)
- Overrides:
remove
in class ASTObject
getDefaultDisplayName
public java.lang.String getDefaultDisplayName()
- Overrides:
getDefaultDisplayName
in class Expr