|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.parser.util.ArrayListHeap
oracle.javatools.parser.plsql.old.symbol.PlsqlSymbol
oracle.javatools.parser.plsql.old.symbol.Statement
public class Statement
| Field Summary | |
|---|---|
protected NameSymbol |
label
|
static int |
TYPE_BLOCK
This statement is a declare block. |
static int |
TYPE_ELSE
This statement is actually the else clause of an if statement. |
static int |
TYPE_ELSIF
This statement is actually an elsif clause of an if statement and an instance of a CompoundStatement. |
static int |
TYPE_EXP
This statement is an expression statement. |
static int |
TYPE_FOR
This statement is a for loop and is an instance of a CompoundStatement. |
static int |
TYPE_IF
This statement is an if statement and is an instance of a CompoundStatement. |
static int |
TYPE_LOOP
This statement is an ordinary loop statement. |
static int |
TYPE_WHILE
This statement is a while loop and is an instance of a CompoundStatement. |
| Fields inherited from class oracle.javatools.parser.plsql.old.symbol.PlsqlSymbol |
|---|
SYNTAX_EOF, SYNTAX_ERROR, SYNTAX_ROOT |
| Method Summary | |
|---|---|
CodeBlockSymbol |
getBlock()
If this is a block statement, get the block for this statement. |
ExpressionSymbol |
getExpression()
If this statement has an associate expression, get the expression for this statement. |
NameSymbol |
getLabel()
|
int |
getStmtType()
|
| Methods inherited from class oracle.javatools.parser.plsql.old.symbol.PlsqlSymbol |
|---|
getChildren, getCode, getDataValue, getEndOffset, getParent, getStartOffset, isLeafNode, isRootNode |
| Methods inherited from class oracle.javatools.parser.util.ArrayListHeap |
|---|
allocArrayList, freeArrayList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_EXP
Call getDataValue() to find out exactly which type of expression statement this is. If the data value == 0, then this is just an ordinary expression statement. Otherwise, refer to PlsqlSyntaxRecognizer.isExpressionStatementPrefix().
public static final int TYPE_BLOCK
public static final int TYPE_LOOP
public static final int TYPE_WHILE
public static final int TYPE_FOR
public static final int TYPE_IF
public static final int TYPE_ELSIF
public static final int TYPE_ELSE
protected NameSymbol label
| Method Detail |
|---|
public int getStmtType()
public CodeBlockSymbol getBlock()
public ExpressionSymbol getExpression()
public NameSymbol getLabel()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||