|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SourceExpression
The SourceExpression is essentially the union of all the various operators and primaries. If it is a primary, selector, or method invocation, it has a name. Otherwise, it is an operator of some sort and has operands. With each enumerated constant is a description of which fields are non-null and useful.
| Field Summary | |
|---|---|
static SourceExpression[] |
EMPTY_ARRAY
|
| Fields inherited from interface oracle.javatools.parser.java.v2.model.SourceElement |
|---|
CHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT |
| Method Summary | |
|---|---|
java.lang.Object |
getConstantValue()
Determine if this expression is a constant expression, and if so, compute the constant value of this expression |
int |
getExpressionCode()
|
SourceExpression |
getFirstOperand()
|
SourceExpression |
getOperandAt(int index)
Gets the operand at the specified index in the operand array. |
int |
getOperandCount()
|
java.util.List |
getOperands()
|
int |
getOperatorCode()
Same thing as getExpressionCode(). |
SourceExpression |
getSecondOperand()
|
SourceExpression |
getThirdOperand()
|
| Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceElement |
|---|
addSelf, addSelf, addSelfAfter, addSelfBefore, clearBinding, cloneSelf, compile, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getEndOffset, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelf |
| Methods inherited from interface oracle.javatools.parser.java.v2.model.expression.CompiledExpression |
|---|
getResolvedObject |
| Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaHasType |
|---|
getResolvedType, getUnresolvedType |
| Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaElement |
|---|
getElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfo |
| Field Detail |
|---|
static final SourceExpression[] EMPTY_ARRAY
| Method Detail |
|---|
java.lang.Object getConstantValue()
int getExpressionCode()
int getOperatorCode()
SourceExpression getFirstOperand()
SourceExpression getSecondOperand()
SourceExpression getThirdOperand()
java.util.List getOperands()
int getOperandCount()
SourceExpression getOperandAt(int index)
index - 0-based.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||