|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JExpression | |
at.dms.kjc |
Uses of JExpression in at.dms.kjc |
Subclasses of JExpression in at.dms.kjc | |
class |
JAddExpression
A representation of the addition operator. |
class |
JArrayAccessExpression
This class implements an access through an array constant values may be folded at compile time |
class |
JArrayInitializer
This class implements a constant list of expressions used in array initialisation. |
class |
JArrayLengthExpression
A 'ArrayLength' expression |
class |
JAssignmentExpression
This class implements the assignment operation. |
class |
JBinaryArithmeticExpression
This class is an abstract root class for binary arithmetic expressions. |
class |
JBinaryExpression
This class is an abstract root class for binary expressions Here are conversion method following JLS 5.6.2 |
class |
JBitwiseExpression
Representation of bitwise and logical operations: binary and, binary or and binary exclusive-or, as well as logical and, logical or and logical exclusive-or. |
class |
JBooleanLiteral
A boolean literal (true or false.) |
class |
JCastExpression
This class represents a cast expression '((byte)2)' |
class |
JCharLiteral
A simple character constant. |
class |
JCheckedExpression
to add a portion of already checked code into a code to check, the checkExpression will break the code checking and return the the children |
class |
JClassExpression
A 'int.class' expression |
class |
JClassFieldExpression
A field access ('getExpression().t' or 't'). |
class |
JCompoundAssignmentExpression
This class implements the assignment operation. |
class |
JConditionalAndExpression
This class implements the conditional and operation |
class |
JConditionalExpression
Implementation of the ?: operator. |
class |
JConditionalOrExpression
This class implements the conditional or operation |
class |
JDivideExpression
A representation of the divide operation (JLS2 15.17.2) |
class |
JEqualityExpression
JLS 15.20: Equality Operators ('==' and '!=') |
class |
JExplicitConstructorInvocation
This class represents a explicit call to a super or self constructor. |
class |
JInstanceofExpression
This class represents a instanceof expression. |
class |
JLiteral
Root class for all literal expressions. |
class |
JLocalVariableExpression
A LocalVariable used as an lvalue or rvalue expression. |
class |
JMethodCallExpression
This class represents methods call |
class |
JMinusExpression
A representation of the subtraction operation. |
class |
JModuloExpression
This class implements the modulo '%' operation. |
class |
JMultExpression
A representation of the multiplication operator (JLS2 15.17.1) |
class |
JNameExpression
A name within an expression. |
class |
JNewAnonymousClassExpression
This class represents a new allocation expression with a special class type: an anonymous inner class. |
class |
JNewArrayExpression
This class represents a new allocation expression 'new toto(1)' |
class |
JNewObjectExpression
This class represents a new allocation expression 'new toto(1)' |
class |
JNullLiteral
Representation of a 'null' object reference literal. |
class |
JNumberLiteral
Root class for all number literals |
class |
JOrdinalLiteral
This class represents ordinal literals (byte, short, int, long.) |
class |
JOuterLocalVariableExpression
JOuterLocalVariableExpression |
class |
JParenthesedExpression
This class represents expression within parenthese |
class |
JPostfixExpression
This class represents postfix increment and decrement expressions. |
class |
JPrefixExpression
This class represents prefix increment and decrement expressions. |
class |
JRealLiteral
Real literals. |
class |
JRelationalExpression
|
class |
JShiftExpression
A representation of a bitshift operation. |
class |
JStringLiteral
Represenation of a string constant. |
class |
JSuperExpression
A 'super' expression. |
class |
JThisExpression
A 'this' expression. |
class |
JTypeNameExpression
A System. |
class |
JUnaryExpression
Representation of unary expressions: the PLUS, MINUS, LOGICAL NOT and BINARY NOT expressions: +expression, -expression, !expression and ~expression. |
class |
JUnaryPromote
This class convert arithmetics expression from types to types. |
Fields in at.dms.kjc declared as JExpression | |
static JExpression[] |
JExpression.EMPTY
Empty expression-list constant. |
protected JExpression |
JBinaryExpression.left
|
protected JExpression |
JBinaryExpression.right
|
protected JExpression |
JMethodCallExpression.prefix
The prefix of the method call (the classname for a static method, or an expression resulting in a reference to an instance of the class for other method calls - or null if the call is to a method in the same class, outer class or super class) |
protected JExpression[] |
JMethodCallExpression.args
The arguments to the method call in this expression. |
protected JExpression |
JLocalVariable.initializer
Initializer of local var. |
protected JExpression |
JPrefixExpression.expr
|
protected JExpression |
JNewObjectExpression.explicitThis
If the class to instantiate is an inner class, an explicit-this expression, if present, supplies the outer-class instance to the inner class. |
protected JExpression[] |
JNewObjectExpression.args
Arguments to the constructor. |
protected JExpression |
JUnaryExpression.expr
|
protected JExpression |
JReturnStatement.expression
The expression that this statement returns. |
protected JExpression |
JCastExpression.expr
|
protected JExpression |
JPostfixExpression.expr
|
Methods in at.dms.kjc that return JExpression | |
JExpression |
CAbstractBodyContext.lookupOuterLocalVariable(TokenReference ref,
java.lang.String ident)
lookupOuterLocalVariable |
abstract JExpression |
JExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JExpression.checkExpression(CExpressionContext context,
boolean isLeftSide,
boolean discardValue)
Check expression and evaluate and alter context |
JExpression |
JExpression.convertType(CType dest,
CExpressionContext context)
Changes the type of this expression to an other type. |
JExpression |
JExpression.unParenthesize()
|
JExpression |
JBinaryExpression.getLeft()
Returns the left side of this binary expression. |
JExpression |
JBinaryExpression.getRight()
Returns the right side of this binary expression. |
JExpression |
JBinaryArithmeticExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
abstract JExpression |
JBinaryArithmeticExpression.checkBinaryBody(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JBinaryArithmeticExpression.constantFolding()
Peforms the operation of the subclass implementation on constant operands. |
JExpression |
JModuloExpression.checkBinaryBody(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JUnaryPromote.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JShiftExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JShiftExpression.checkBinaryBody(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JShiftExpression.constantFolding()
|
JExpression |
JBitwiseExpression.checkBinaryBody(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JBitwiseExpression.constantFolding()
Computes the result of the operation at compile-time (JLS 15.27). |
JExpression |
KjcParser.jVarInitializer()
|
JExpression |
KjcParser.jInitializer()
|
JExpression |
KjcParser.jExpression()
|
JExpression |
KjcParser.jForCond()
|
JExpression[] |
KjcParser.jExpressionList()
|
JExpression |
KjcParser.jAssignmentExpression()
|
JExpression |
KjcParser.jConditionalExpression()
|
JExpression |
KjcParser.jLogicalOrExpression()
|
JExpression |
KjcParser.jLogicalAndExpression()
|
JExpression |
KjcParser.jInclusiveOrExpression()
|
JExpression |
KjcParser.jExclusiveOrExpression()
|
JExpression |
KjcParser.jAndExpression()
|
JExpression |
KjcParser.jEqualityExpression()
|
JExpression |
KjcParser.jRelationalExpression()
|
JExpression |
KjcParser.jShiftExpression()
|
JExpression |
KjcParser.jAdditiveExpression()
|
JExpression |
KjcParser.jMultiplicativeExpression()
|
JExpression |
KjcParser.jUnaryExpression()
|
JExpression |
KjcParser.jUnaryExpressionNotPlusMinus()
|
JExpression |
KjcParser.jPostfixExpression()
|
JExpression |
KjcParser.jPrimaryExpression()
|
JExpression |
KjcParser.jQualifiedNewExpression(JExpression expr)
|
JExpression[] |
KjcParser.jArgList()
|
JExpression |
KjcParser.jNewExpression()
object instantiation. |
JExpression |
KjcParser.jConstant()
|
JExpression[] |
KjcParser.jNewArrayDeclarator()
|
JExpression |
JClassFieldExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JOrdinalLiteral.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JOrdinalLiteral.convertType(CType dest,
CExpressionContext context)
Changes the type of this expression to an other. |
JExpression |
JCharLiteral.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JCharLiteral.convertType(CType dest,
CExpressionContext context)
Changes the type of this expression to an other. |
JExpression |
JMethodCallExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression[] |
JExpressionListStatement.getExpressions()
Returns an array of expression |
JExpression |
JMultExpression.checkBinaryBody(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JThisExpression.getPrefix()
Returns the prefix of this JThisExpression, if it has any; otherwise, returns null . |
JExpression |
JThisExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JSuperExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JLocalVariable.getValue()
|
JExpression |
JVariableDefinition.getValue()
|
JExpression |
JNullLiteral.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JPrefixExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JEqualityExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JEqualityExpression.constantFolding(JLiteral left,
JLiteral right)
|
JExpression |
JNameExpression.getPrefix()
|
JExpression |
JNameExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JInstanceofExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JExpressionStatement.getExpression()
|
JExpression |
JMinusExpression.checkBinaryBody(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JStringLiteral.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JNewObjectExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
protected JExpression |
JNewObjectExpression.checkCall(CExpressionContext context,
CType[] argsType)
... |
JExpression |
JUnaryExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JArrayInitializer.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JNewArrayExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JTypeNameExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JDivideExpression.checkBinaryBody(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JParenthesedExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JParenthesedExpression.unParenthesize()
Generates a sequence of bytecodes to branch on a label This method helps to handle heavy optimizables conditions |
static JExpression |
JAssignmentExpression.create(TokenReference where,
int oper,
JExpression left,
JExpression right)
... |
JExpression |
JAssignmentExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JCompoundAssignmentExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JLocalVariableExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JOuterLocalVariableExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
CField.getValue()
|
JExpression |
JCastExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JPostfixExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JExplicitConstructorInvocation.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JArrayAccessExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
CSourceClass.getOuterLocalAccess(TokenReference ref,
JLocalVariable var,
CMethod constructor)
Gets the code to access outer local vars. |
JExpression |
JCheckedExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JBooleanLiteral.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JRelationalExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JRelationalExpression.constantFolding(JNumberLiteral left,
JNumberLiteral right)
|
JExpression |
JClassExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JRealLiteral.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JRealLiteral.convertType(CType dest,
CExpressionContext context)
Changes the type of this expression to an other type. |
JExpression |
JArrayLengthExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
CClassContext.lookupOuterLocalVariable(TokenReference ref,
java.lang.String ident)
lookupOuterLocalVariable |
JExpression |
JAddExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JAddExpression.checkBinaryBody(CExpressionContext context)
Check expression and evaluate and alter context. |
JExpression |
JAddExpression.constantFolding()
Peforms the operation of the subclass implementation on constant operands. |
JExpression |
JConditionalAndExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JConditionalExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
JExpression |
JConditionalOrExpression.checkExpression(CExpressionContext context)
Check expression and evaluate and alter context |
Methods in at.dms.kjc with parameters of type JExpression | |
protected void |
JBinaryExpression.setLeft(JExpression left)
Sets the left side of the expression. |
protected void |
JBinaryExpression.setRight(JExpression right)
Sets the right side of the expression. |
protected void |
JBinaryExpression.genBranch(JExpression left,
JExpression right,
boolean cond,
CodeSequence code,
CodeLabel label)
Optimize a bi-conditional expression |
JExpression |
KjcParser.jQualifiedNewExpression(JExpression expr)
|
void |
CClass.genSyntheticParams(CodeSequence code,
JExpression explicitThis)
Add synthetic parameters to method call. |
void |
CClass.genSyntheticParamsFromExplicitSuper(JExpression[] params,
CodeSequence code)
Add synthetic parameters to method call. |
void |
JThisExpression.setPrefix(JExpression prefix)
Sets the prefix of this JThisExpression. |
protected void |
JEqualityExpression.genBranch(JExpression left,
JExpression right,
boolean conditional,
CodeSequence code,
CodeLabel label)
Optimize a bi-conditionalitional expression |
protected JClassFieldExpression |
JNameExpression.createClassField(TokenReference ref,
JExpression prefix,
java.lang.String ident)
Since class field may be overloaded in sub compiler, this method allows you to specify the type of class field without needed to touch the huge method above ! |
void |
KjcPrettyPrinter.visitFieldDeclaration(JFieldDeclaration self,
int modifiers,
CType type,
java.lang.String ident,
JExpression expr)
prints a field declaration |
void |
KjcPrettyPrinter.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
prints a while statement |
void |
KjcPrettyPrinter.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
java.lang.String ident,
JExpression expr)
prints a variable declaration statement |
void |
KjcPrettyPrinter.visitThrowStatement(JThrowStatement self,
JExpression expr)
prints a throw statement |
void |
KjcPrettyPrinter.visitSynchronizedStatement(JSynchronizedStatement self,
JExpression cond,
JStatement body)
prints a synchronized statement |
void |
KjcPrettyPrinter.visitSwitchStatement(JSwitchStatement self,
JExpression expr,
JSwitchGroup[] body)
prints a switch statement |
void |
KjcPrettyPrinter.visitReturnStatement(JReturnStatement self,
JExpression expr)
prints a return statement |
void |
KjcPrettyPrinter.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
prints a if statement |
void |
KjcPrettyPrinter.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
prints a for statement |
void |
KjcPrettyPrinter.visitExpressionStatement(JExpressionStatement self,
JExpression expr)
prints an expression statement |
void |
KjcPrettyPrinter.visitExpressionListStatement(JExpressionListStatement self,
JExpression[] expr)
prints an expression list statement |
void |
KjcPrettyPrinter.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
prints a do statement |
void |
KjcPrettyPrinter.visitUnaryExpression(JUnaryExpression self,
int oper,
JExpression expr)
prints an unary expression |
void |
KjcPrettyPrinter.visitThisExpression(JThisExpression self,
JExpression prefix)
prints a this expression |
void |
KjcPrettyPrinter.visitShiftExpression(JShiftExpression self,
int oper,
JExpression left,
JExpression right)
prints a shift expression |
void |
KjcPrettyPrinter.visitRelationalExpression(JRelationalExpression self,
int oper,
JExpression left,
JExpression right)
prints a shift expressiona |
void |
KjcPrettyPrinter.visitPrefixExpression(JPrefixExpression self,
int oper,
JExpression expr)
prints a prefix expression |
void |
KjcPrettyPrinter.visitPostfixExpression(JPostfixExpression self,
int oper,
JExpression expr)
prints a postfix expression |
void |
KjcPrettyPrinter.visitParenthesedExpression(JParenthesedExpression self,
JExpression expr)
prints a parenthesed expression |
void |
KjcPrettyPrinter.visitNewObjectExpression(JNewObjectExpression self,
CClassType type,
JExpression[] params,
JClassDeclaration innerBody)
prints an object allocator expression |
void |
KjcPrettyPrinter.visitNameExpression(JNameExpression self,
JExpression prefix,
java.lang.String ident)
prints a name expression |
void |
KjcPrettyPrinter.visitBinaryExpression(JBinaryExpression self,
java.lang.String oper,
JExpression left,
JExpression right)
prints an array allocator expression |
void |
KjcPrettyPrinter.visitMethodCallExpression(JMethodCallExpression self,
JExpression prefix,
java.lang.String ident,
JExpression[] args)
prints a method call expression |
void |
KjcPrettyPrinter.visitInstanceofExpression(JInstanceofExpression self,
JExpression expr,
CType dest)
prints an instanceof expression |
void |
KjcPrettyPrinter.visitEqualityExpression(JEqualityExpression self,
int oper,
JExpression left,
JExpression right)
prints an equality expression |
void |
KjcPrettyPrinter.visitConditionalExpression(JConditionalExpression self,
JExpression cond,
JExpression left,
JExpression right)
prints a conditional expression |
void |
KjcPrettyPrinter.visitCompoundAssignmentExpression(JCompoundAssignmentExpression self,
int oper,
JExpression left,
JExpression right)
prints a compound expression |
void |
KjcPrettyPrinter.visitFieldExpression(JClassFieldExpression self,
JExpression left,
java.lang.String ident)
prints a field expression |
void |
KjcPrettyPrinter.visitCastExpression(JCastExpression self,
JExpression expr,
CType type)
prints a cast expression |
void |
KjcPrettyPrinter.visitUnaryPromoteExpression(JUnaryPromote self,
JExpression expr,
CType type)
prints a cast expression |
void |
KjcPrettyPrinter.visitBitwiseExpression(JBitwiseExpression self,
int oper,
JExpression left,
JExpression right)
prints a compound assignment expression |
void |
KjcPrettyPrinter.visitAssignmentExpression(JAssignmentExpression self,
JExpression left,
JExpression right)
prints an assignment expression |
void |
KjcPrettyPrinter.visitArrayLengthExpression(JArrayLengthExpression self,
JExpression prefix)
prints an array length expression |
void |
KjcPrettyPrinter.visitArrayAccessExpression(JArrayAccessExpression self,
JExpression prefix,
JExpression accessor)
prints an array length expression |
void |
KjcPrettyPrinter.visitSwitchLabel(JSwitchLabel self,
JExpression expr)
prints an array length expression |
void |
KjcPrettyPrinter.visitArgs(JExpression[] args)
prints an argument list |
void |
KjcPrettyPrinter.visitExplicitConstructorInvocation(JExplicitConstructorInvocation self,
JExpression prefix,
java.lang.String ident,
JExpression[] params)
prints an explicit constructor invocation |
void |
KjcPrettyPrinter.visitArrayInitializer(JArrayInitializer self,
JExpression[] elems)
prints an array initializer expression |
void |
KjcPrettyPrinter.visitArrayDimsAndInit(JArrayDimsAndInits self,
JExpression[] dims,
JArrayInitializer init)
prints an array initializer expression |
static JExpression |
JAssignmentExpression.create(TokenReference where,
int oper,
JExpression left,
JExpression right)
... |
void |
CField.setValue(JExpression value)
|
void |
CSourceClass.genSyntheticParams(CodeSequence code,
JExpression explicitThis)
add synthetic parameters to method call |
void |
CSourceClass.genSyntheticParamsFromExplicitSuper(JExpression[] params,
CodeSequence code)
add synthetic parameters to method call |
void |
KjcVisitor.visitFieldDeclaration(JFieldDeclaration self,
int modifiers,
CType type,
java.lang.String ident,
JExpression expr)
visits a field declaration |
void |
KjcVisitor.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
visits a while statement |
void |
KjcVisitor.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
java.lang.String ident,
JExpression expr)
visits a variable declaration statement |
void |
KjcVisitor.visitThrowStatement(JThrowStatement self,
JExpression expr)
visits a throw statement |
void |
KjcVisitor.visitSynchronizedStatement(JSynchronizedStatement self,
JExpression cond,
JStatement body)
visits a synchronized statement |
void |
KjcVisitor.visitSwitchStatement(JSwitchStatement self,
JExpression expr,
JSwitchGroup[] body)
visits a switch statement |
void |
KjcVisitor.visitReturnStatement(JReturnStatement self,
JExpression expr)
visits a return statement |
void |
KjcVisitor.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
visits a if statement |
void |
KjcVisitor.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
visits a for statement |
void |
KjcVisitor.visitExpressionStatement(JExpressionStatement self,
JExpression expr)
visits an expression statement |
void |
KjcVisitor.visitExpressionListStatement(JExpressionListStatement self,
JExpression[] expr)
visits an expression list statement |
void |
KjcVisitor.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
visits a do statement |
void |
KjcVisitor.visitUnaryExpression(JUnaryExpression self,
int oper,
JExpression expr)
visits an unary expression |
void |
KjcVisitor.visitThisExpression(JThisExpression self,
JExpression prefix)
visits a this expression |
void |
KjcVisitor.visitShiftExpression(JShiftExpression self,
int oper,
JExpression left,
JExpression right)
visits a shift expression |
void |
KjcVisitor.visitRelationalExpression(JRelationalExpression self,
int oper,
JExpression left,
JExpression right)
visits a shift expressiona |
void |
KjcVisitor.visitPrefixExpression(JPrefixExpression self,
int oper,
JExpression expr)
visits a prefix expression |
void |
KjcVisitor.visitPostfixExpression(JPostfixExpression self,
int oper,
JExpression expr)
visits a postfix expression |
void |
KjcVisitor.visitParenthesedExpression(JParenthesedExpression self,
JExpression expr)
visits a parenthesed expression |
void |
KjcVisitor.visitNewObjectExpression(JNewObjectExpression self,
CClassType type,
JExpression[] params,
JClassDeclaration innerBody)
visits an object allocator expression |
void |
KjcVisitor.visitNameExpression(JNameExpression self,
JExpression prefix,
java.lang.String ident)
visits a name expression |
void |
KjcVisitor.visitBinaryExpression(JBinaryExpression self,
java.lang.String oper,
JExpression left,
JExpression right)
visits an array allocator expression |
void |
KjcVisitor.visitMethodCallExpression(JMethodCallExpression self,
JExpression prefix,
java.lang.String ident,
JExpression[] args)
visits a method call expression |
void |
KjcVisitor.visitInstanceofExpression(JInstanceofExpression self,
JExpression expr,
CType dest)
visits an instanceof expression |
void |
KjcVisitor.visitEqualityExpression(JEqualityExpression self,
int oper,
JExpression left,
JExpression right)
visits an equality expression |
void |
KjcVisitor.visitConditionalExpression(JConditionalExpression self,
JExpression cond,
JExpression left,
JExpression right)
visits a conditional expression |
void |
KjcVisitor.visitCompoundAssignmentExpression(JCompoundAssignmentExpression self,
int oper,
JExpression left,
JExpression right)
visits a compound expression |
void |
KjcVisitor.visitFieldExpression(JClassFieldExpression self,
JExpression left,
java.lang.String ident)
visits a field expression |
void |
KjcVisitor.visitCastExpression(JCastExpression self,
JExpression expr,
CType type)
visits a cast expression |
void |
KjcVisitor.visitUnaryPromoteExpression(JUnaryPromote self,
JExpression expr,
CType type)
visits a cast expression |
void |
KjcVisitor.visitBitwiseExpression(JBitwiseExpression self,
int oper,
JExpression left,
JExpression right)
visits a compound assignment expression |
void |
KjcVisitor.visitAssignmentExpression(JAssignmentExpression self,
JExpression left,
JExpression right)
visits an assignment expression |
void |
KjcVisitor.visitArrayLengthExpression(JArrayLengthExpression self,
JExpression prefix)
visits an array length expression |
void |
KjcVisitor.visitArrayAccessExpression(JArrayAccessExpression self,
JExpression prefix,
JExpression accessor)
visits an array length expression |
void |
KjcVisitor.visitSwitchLabel(JSwitchLabel self,
JExpression expr)
visits an array length expression |
void |
KjcVisitor.visitExplicitConstructorInvocation(JExplicitConstructorInvocation self,
JExpression prefix,
java.lang.String ident,
JExpression[] params)
visits an array length expression |
void |
KjcVisitor.visitArrayInitializer(JArrayInitializer self,
JExpression[] elems)
visits an array initializer expression |
void |
KjcVisitor.visitArrayDimsAndInit(JArrayDimsAndInits self,
JExpression[] dims,
JArrayInitializer init)
visits an array dimension |
static void |
JArrayDimsAndInits.allocArray(CodeSequence code,
CArrayType type,
JExpression[] dims)
Generates a sequence of bytecodes |
protected void |
JRelationalExpression.genBranch(JExpression left,
JExpression right,
boolean cond,
CodeSequence code,
CodeLabel label)
Optimize a bi-conditional expression |
protected void |
JConditionalAndExpression.genBranch(JExpression left,
JExpression right,
boolean cond,
CodeSequence code,
CodeLabel label)
Optimize a bi-conditional expression |
protected void |
JConditionalOrExpression.genBranch(JExpression left,
JExpression right,
boolean cond,
CodeSequence code,
CodeLabel label)
Optimize a bi-conditional expression |
Constructors in at.dms.kjc with parameters of type JExpression | |
JBinaryExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser |
|
JBinaryArithmeticExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree. |
|
JModuloExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser |
|
JSwitchLabel(TokenReference where,
JExpression expr)
Construct a node in the parsing tree. |
|
JUnaryPromote(JExpression expr,
CType type)
Construct a node in the parsing tree. |
|
JShiftExpression(TokenReference where,
int oper,
JExpression left,
JExpression right)
Construct a node in the parsing tree. |
|
JBitwiseExpression(TokenReference where,
int oper,
JExpression left,
JExpression right)
Construct a node in the parsing tree. |
|
JClassFieldExpression(TokenReference where,
JExpression prefix,
java.lang.String ident)
Construct a node in the parsing tree. |
|
JMethodCallExpression(TokenReference where,
JExpression prefix,
JExpression[] args)
Construct a node in the parsing tree This method is directly called by the parser |
|
JExpressionListStatement(TokenReference where,
JExpression[] exprs,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JMultExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree. |
|
JThisExpression(TokenReference where,
JExpression prefix)
Construct a node in the parsing tree. |
|
JSuperExpression(TokenReference where,
JExpression prefix)
Construct a node in the parsing tree. |
|
JLocalVariable(TokenReference where,
int modifiers,
int desc,
CType type,
java.lang.String name,
JExpression initializer)
Constructs a local variable reference. |
|
JVariableDefinition(TokenReference where,
int modifiers,
CType type,
java.lang.String ident,
JExpression initializer)
Construct a node in the parsing tree. |
|
JPrefixExpression(TokenReference where,
int oper,
JExpression expr)
Construct a node in the parsing tree |
|
JEqualityExpression(TokenReference where,
int oper,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser |
|
JNameExpression(TokenReference where,
JExpression prefix,
java.lang.String ident)
Construct a node in the parsing tree. |
|
JInstanceofExpression(TokenReference where,
JExpression expr,
CType dest)
Construct a node in the parsing tree This method is directly called by the parser |
|
JWhileStatement(TokenReference where,
JExpression condition,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JExpressionStatement(TokenReference where,
JExpression expression,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JMinusExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser |
|
JNewObjectExpression(TokenReference where,
CClassType objectType,
JExpression explicitThis,
java.lang.String identifier,
JExpression[] args)
Construct a node in the parsing tree. |
|
JNewAnonymousClassExpression(TokenReference where,
CClassType objectType,
JExpression explicitThis,
java.lang.String identifier,
JExpression[] args,
JClassDeclaration decl)
Construct a node in the parsing tree. |
|
JForStatement(TokenReference where,
JStatement init,
JExpression condition,
JStatement incr,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JSwitchStatement(TokenReference where,
JExpression expr,
JSwitchGroup[] groups,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JUnaryExpression(TokenReference where,
int oper,
JExpression expr)
Construct a node in the parsing tree |
|
JArrayInitializer(TokenReference where,
JExpression[] elems)
Construct a node in the parsing tree This method is directly called by the parser |
|
JReturnStatement(TokenReference where,
JExpression expression,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JDivideExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree. |
|
JParenthesedExpression(TokenReference where,
JExpression expr)
Construct a node in the parsing tree This method is directly called by the parser |
|
JAssignmentExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree. |
|
JCompoundAssignmentExpression(TokenReference where,
int oper,
JExpression left,
JExpression right)
Construct a node in the parsing tree. |
|
JCastExpression(TokenReference where,
JExpression expr,
CType dest)
Constructs a node in the parsing tree. |
|
JGeneratedLocalVariable(TokenReference where,
int modifiers,
CType type,
java.lang.String name,
JExpression value)
Constructs a local variable definition. |
|
JPostfixExpression(TokenReference where,
int oper,
JExpression expr)
Construct a node in the parsing tree |
|
JExplicitConstructorInvocation(TokenReference where,
JExpression prefix,
java.lang.String ident,
JExpression[] args)
Construct a node in the parsing tree. |
|
JArrayAccessExpression(TokenReference where,
JExpression prefix,
JExpression accessor)
Construct a node in the parsing tree This method is directly called by the parser |
|
JArrayDimsAndInits(TokenReference where,
JExpression[] dims,
JArrayInitializer init)
Constructor arr: brackets |
|
JCheckedExpression(TokenReference where,
JExpression checked)
Construct a node in the parsing tree |
|
JThrowStatement(TokenReference where,
JExpression expression,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JDoStatement(TokenReference where,
JExpression condition,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JRelationalExpression(TokenReference where,
int oper,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser |
|
JClassExpression(TokenReference where,
JExpression expr,
int bounds)
Construct a node in the parsing tree |
|
JArrayLengthExpression(TokenReference where,
JExpression prefix)
Construct a node in the parsing tree. |
|
JAddExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree |
|
JConditionalAndExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser |
|
JConditionalExpression(TokenReference where,
JExpression condition,
JExpression left,
JExpression right)
Construct a node in the parsing tree. |
|
JIfStatement(TokenReference where,
JExpression condition,
JStatement thenClause,
JStatement elseClause,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JConditionalOrExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser |
|
JSynchronizedStatement(TokenReference where,
JExpression cond,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |