public class BoundRoutineSymbol extends BoundSymbol
| Constructor and Description |
|---|
BoundRoutineSymbol(String routineName,
String packageName,
BoundScope declaringScope,
SourceAnchor declarationAnchor,
List<BoundParameterSymbol> parameters,
BoundTypeRef returnType,
ERoutineKind routineKind) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPackageName() |
List<BoundParameterSymbol> |
getParameters() |
BoundTypeRef |
getReturnType() |
String |
getRoutineId()
Returns a unique identifier for this routine.
|
ERoutineKind |
getRoutineKind() |
String |
getRoutineName() |
ESymbolKind |
getSymbolKind() |
String |
toString() |
getDeclarationAnchor, getDeclaringScope, getNamepublic BoundRoutineSymbol(String routineName, String packageName, BoundScope declaringScope, SourceAnchor declarationAnchor, List<BoundParameterSymbol> parameters, BoundTypeRef returnType, ERoutineKind routineKind)
public String getPackageName()
public String getRoutineName()
public List<BoundParameterSymbol> getParameters()
public BoundTypeRef getReturnType()
public ERoutineKind getRoutineKind()
public String getRoutineId()
[pkg.]name/KIND(paramCount) where KIND is one of:
P (procedure), F (function), T (trigger), A (anonymous block),
NP (nested procedure), NF (nested function), TM (type method).
Examples:
MY_PKG.CALC/F(2) — function CALC in MY_PKG, 2 params MY_PKG.CALC/P(2) — procedure CALC in MY_PKG, 2 params STANDALONE/P(0) — standalone procedure, no params <anonymous>/A(0) — anonymous block
public ESymbolKind getSymbolKind()
getSymbolKind in class BoundSymbolpublic String toString()
toString in class BoundSymbol