Modifier and Type | Class and Description |
---|---|
static class |
PlSqlFragment.AlterSubType |
static class |
PlSqlFragment.Type |
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_PACKAGE_BODY |
static int |
TYPE_PACKAGE_SPEC |
Modifier and Type | Method and Description |
---|---|
PlSqlFragment |
findChild(PlSqlFragment.Type type,
boolean deep) |
PlSqlFragment.AlterSubType |
getAlterSubType() |
PlSqlFragment[] |
getChildren() |
java.lang.String |
getDescription(java.lang.Integer maxSize)
Returns a description of the PlSqlFragment
|
java.lang.String |
getDescriptionString()
Deprecated.
- no longer supported
|
int |
getEndOffset() |
PlsqlError[] |
getErrors()
Deprecated.
- Not supported
|
PlSqlToken |
getFirstToken() |
PlSqlFragment.Type |
getFragmentType() |
PlSqlFragment.Type |
getFramentType()
Deprecated.
|
PlSqlToken |
getLastToken() |
PlSqlFragment |
getParent() |
java.lang.String |
getSource() |
java.lang.String |
getSourceSnippet(int maxChars) |
int |
getStartOffset() |
java.util.ArrayList |
getSubFragments()
Deprecated.
- use getChildren instead
|
int |
getTreeKind()
The term "tree kind" comes directly out of the database and
indicates what structure this tree is, e.g.
|
int |
getType()
Deprecated.
|
java.lang.String |
getTypeString() |
static java.lang.String |
getTypeString(PlSqlFragment.Type type) |
PlsqlNode[] |
getUnits()
Deprecated.
- Not supported
|
void |
setAlterSubType(PlSqlFragment.AlterSubType alterSubType) |
void |
setFirstToken(PlSqlToken firstToken) |
void |
setFragmentType(PlSqlFragment.Type type) |
void |
setLastToken(PlSqlToken lastToken) |
public static final int TYPE_PACKAGE_SPEC
public static final int TYPE_PACKAGE_BODY
public PlSqlFragment getParent()
@Deprecated public int getType()
@Deprecated public PlSqlFragment.Type getFramentType()
public PlSqlFragment.Type getFragmentType()
public void setFragmentType(PlSqlFragment.Type type)
public PlSqlToken getFirstToken()
public void setAlterSubType(PlSqlFragment.AlterSubType alterSubType)
public PlSqlFragment.AlterSubType getAlterSubType()
public void setFirstToken(PlSqlToken firstToken)
public PlSqlToken getLastToken()
public void setLastToken(PlSqlToken lastToken)
@Deprecated public final java.util.ArrayList getSubFragments()
public PlSqlFragment[] getChildren()
public java.lang.String getSource()
public java.lang.String getSourceSnippet(int maxChars)
@Deprecated public PlsqlError[] getErrors()
@Deprecated public PlsqlNode[] getUnits()
public int getTreeKind()
PlsqlNode
getTreeKind
in interface PlsqlNode
public int getStartOffset()
getStartOffset
in interface PlsqlNode
public int getEndOffset()
public java.lang.String getTypeString()
public static java.lang.String getTypeString(PlSqlFragment.Type type)
@Deprecated public java.lang.String getDescriptionString()
public java.lang.String getDescription(java.lang.Integer maxSize)
maxSize
- if given, limits the length of the description to maxSize characters.
maxSize should be null or an Integer >= 3.public PlSqlFragment findChild(PlSqlFragment.Type type, boolean deep)