Skip navigation links
oracle.javatools.parser.plsql.symtab
Class PtnodTypedef
java.lang.Object
oracle.javatools.parser.plsql.syntax.AST
oracle.javatools.parser.plsql.symtab.Ptnod
oracle.javatools.parser.plsql.symtab.PtnodTypedef
- All Implemented Interfaces:
- PlsqlHasName, PlsqlNode, PlsqlTypedef, PtnodConstants, PtnodInternals
-
public class PtnodTypedef
- extends Ptnod
- implements PlsqlTypedef
Fields inherited from interface oracle.javatools.parser.plsql.data.PtnodConstants |
PTNOD_ADT, PTNOD_ADT_CMPON_OBJECT, PTNOD_ADT_CMPON_SUBPRG, PTNOD_ADTBODY, PTNOD_ADTBODY_SUBPRG, PTNOD_base, PTNOD_C_ARRAY_DEF, PTNOD_CURSOR, PTNOD_ENUM_TY_DEF, PTNOD_ERROR, PTNOD_LITERAL, PTNOD_max, PTNOD_NAME, PTNOD_PKG, PTNOD_RECORD_TY_DEF, PTNOD_REF_CURSOR_TY_DEF, PTNOD_ROOT, PTNOD_SUBPRG, PTNOD_SUBTY_DEF, PTNOD_TABLE_TYPE, PTNOD_TBL_TY_DEF, PTNOD_TY_DEF, PTNOD_TYPE, PTNOD_UNCNSTRNED_ARRAY_DEF, PTNOD_VARIABLE, QCNOD_EXPRESSION |
Methods inherited from class oracle.javatools.parser.plsql.symtab.Ptnod |
decl_item, fmlpart, getDeclarations, getFormalParameters, getName, getReturnType, getType, getVariables, literal, name, ty, var |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PtnodTypedef
public PtnodTypedef()
getSubtype
public PlsqlType getSubtype()
- Description copied from interface:
PlsqlTypedef
- Valid if this is a PTNOD_SUBTY_DEF. Follows the syntax of "SUBTYPE name is type".
-
- Specified by:
getSubtype
in interface PlsqlTypedef
-
- Returns:
- the sub type.
getCursorReturnType
public PlsqlType getCursorReturnType()
- Description copied from interface:
PlsqlTypedef
- Valid if this is a PTNOD_REF_CURSOR_TY_DEF. Follows the syntax of "TYPE name IS REF CURSOR RETURN return_type". The RETURN part is optional.
-
- Specified by:
getCursorReturnType
in interface PlsqlTypedef
-
- Returns:
- the (optional) cursor return type.
getEnumeration
public PlsqlName[] getEnumeration()
- Description copied from interface:
PlsqlTypedef
- Valid if this is a PTNOD_ENUM_TY_DEF. Follows the syntax of "TYPE name IS ( enumeration )".
-
- Specified by:
getEnumeration
in interface PlsqlTypedef
-
- Returns:
- a list of the enumerated identifiers.
getRecordColumns
public PlsqlVariable[] getRecordColumns()
- Description copied from interface:
PlsqlTypedef
- Valid if this is a PTNOD_RECORD_TY_DEF. Follows the syntax of "TYPE name IS RECORD( columns )".
-
- Specified by:
getRecordColumns
in interface PlsqlTypedef
-
- Returns:
- a list of the columns.
getTableType
public PlsqlType getTableType()
- Description copied from interface:
PlsqlTypedef
- Valid if this is a PTNOD_TBL_TY_DEF. Follows the syntax of "TYPE name is TABLE( columns )".
-
- Specified by:
getTableType
in interface PlsqlTypedef
-
- Returns:
- the PlsqlType for the "TABLE( columns )" portion.
getArrayComponentType
public PlsqlType getArrayComponentType()
- Description copied from interface:
PlsqlTypedef
- Valid if this is a PTNOD_UNCNSTRND_ARRAY_DEF. Follows the syntax "TYPE name IS TABLE OF component_type INDEX by index_type". Valid if this is a PTNOD_C_ARRAY_DEF. Follows the syntax "TYPE name IS ARRAY( length ) of component_type.
-
- Specified by:
getArrayComponentType
in interface PlsqlTypedef
-
- Returns:
- The component (element) type of this array.
getArrayIndexType
public PlsqlType getArrayIndexType()
- Description copied from interface:
PlsqlTypedef
- Valid if this is a PTNOD_UNCNSTRND_ARRAY_DEF. Follows the syntax "TYPE name IS TABLE OF component_type INDEX by index_type".
-
- Specified by:
getArrayIndexType
in interface PlsqlTypedef
-
- Returns:
- The index type of this array.
getArrayLength
public PlsqlName getArrayLength()
- Description copied from interface:
PlsqlTypedef
- Valid if this is a PTNOD_C_ARRAY_DEF. Follows the syntax "TYPE name IS ARRAY( length ) of component_type".
-
- Specified by:
getArrayLength
in interface PlsqlTypedef
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.