|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.aspectj.compiler.base.CompilerObject
org.aspectj.compiler.base.ast.ASTObject
org.aspectj.compiler.base.ast.Expr
org.aspectj.compiler.base.ast.JavaExpr
org.aspectj.compiler.base.ast.AssignableExpr
Field Summary |
Fields inherited from class org.aspectj.compiler.base.ast.Expr |
type |
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject |
dummySource, parent, sourceLocation |
Constructor Summary | |
AssignableExpr(SourceLocation location)
|
Method Summary | |
protected abstract void |
cgAssignment(org.aspectj.compiler.base.bcg.CodeBuilder cb)
Generate code to actually assign into this assignable. |
protected abstract void |
cgDupLvalue(org.aspectj.compiler.base.bcg.CodeBuilder cb)
Generates code to duplicate the top lvalue on the stack. |
protected abstract void |
cgDupRvalue(org.aspectj.compiler.base.bcg.CodeBuilder cb)
Generates code to duplicate the top rvalue on the stack and places it BELOW the lvalue that may be just below it. |
protected abstract void |
cgLtoRvalue(org.aspectj.compiler.base.bcg.CodeBuilder cb)
Generate code to remove the lvalue at the top of the stack (if any) and place the appropriate rvalue on the stack. |
protected abstract void |
cgLvalue(org.aspectj.compiler.base.bcg.CodeBuilder cb)
Generate code to place the lvalue of this expression on the top of the stack. |
protected void |
cgValue(org.aspectj.compiler.base.bcg.CodeBuilder cb)
Leaves the value of this expression on the stack. |
java.lang.String |
getDefaultDisplayName()
|
protected boolean |
isIncable()
Is this an expression that we can generate an IINC code for? That is, a VarExpr to a variable of type int with an index that will fit in one byte? |
boolean |
isLhs()
|
Methods inherited from class org.aspectj.compiler.base.ast.Expr |
assertType, canBeCopied, cgBuffer, cgEffect, cgTest, cgValue, checkSpec, cleanup, discoverType, 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.CompilerObject |
getCompiler, getOptions, getTypeManager, getWorld |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AssignableExpr(SourceLocation location)
Method Detail |
public boolean isLhs()
protected void cgValue(org.aspectj.compiler.base.bcg.CodeBuilder cb)
Expr
Expr.cgTest(CodeBuilder, Label, Label)
.
cgValue
in class Expr
protected abstract void cgLvalue(org.aspectj.compiler.base.bcg.CodeBuilder cb)
protected abstract void cgLtoRvalue(org.aspectj.compiler.base.bcg.CodeBuilder cb)
protected abstract void cgAssignment(org.aspectj.compiler.base.bcg.CodeBuilder cb)
protected abstract void cgDupLvalue(org.aspectj.compiler.base.bcg.CodeBuilder cb)
protected abstract void cgDupRvalue(org.aspectj.compiler.base.bcg.CodeBuilder cb)
protected boolean isIncable()
public java.lang.String getDefaultDisplayName()
getDefaultDisplayName
in class Expr
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |