Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


oracle.javatools.parser.plsql.syntax
Class AST

java.lang.Object
  extended by oracle.javatools.parser.plsql.syntax.AST

All Implemented Interfaces:
PlsqlNode
Direct Known Subclasses:
Ptnod

public class AST
extends java.lang.Object
implements PlsqlNode

Not thread-safe implementation of a base AST class.


Field Summary
static AST[] EMPTY_ARRAY
           
 int kidCount
          The number of children in this AST.
 PlsqlNode[] kids
          The children of this AST.
 int kind
          The kind of this AST.
 AST parent
          The parent of this AST.
 byte shushDepth
          The shush depth above this AST on the stack.
 byte skipDepth
          The skip height of this AST on the stack.
 short stackDepth
          The stack depth of this AST, for error-checking.
 int startOffset
          The start offset of this AST.

 

Constructor Summary
AST()
           

 

Method Summary
 void addKid(PlsqlNode kid)
           
 int getStartOffset()
           
 int getTreeKind()
          The term "tree kind" comes directly out of the database and indicates what structure this tree is, e.g.
protected  void verify()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

EMPTY_ARRAY

public static final AST[] EMPTY_ARRAY

kind

public int kind
The kind of this AST.

startOffset

public int startOffset
The start offset of this AST.

parent

public AST parent
The parent of this AST.

stackDepth

public short stackDepth
The stack depth of this AST, for error-checking.

shushDepth

public byte shushDepth
The shush depth above this AST on the stack.

skipDepth

public byte skipDepth
The skip height of this AST on the stack.

kids

public PlsqlNode[] kids
The children of this AST.

kidCount

public int kidCount
The number of children in this AST.

Constructor Detail

AST

public AST()

Method Detail

getTreeKind

public int getTreeKind()
Description copied from interface: PlsqlNode
The term "tree kind" comes directly out of the database and indicates what structure this tree is, e.g. subprg.
Specified by:
getTreeKind in interface PlsqlNode
Returns:
The kind of this tree node.

getStartOffset

public int getStartOffset()
Specified by:
getStartOffset in interface PlsqlNode
Returns:
The starting offset for this node.

addKid

public void addKid(PlsqlNode kid)

verify

protected void verify()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


Copyright © 1997, 2015, Oracle. All rights reserved.