public static final class CallSiteRef.Actual extends Object
| Constructor and Description |
|---|
Actual(int position,
String namedFormal,
boolean outFlagged,
TObjectName bareReference,
List<TObjectName> leafReferences,
String expressionText,
boolean literal) |
Actual(int position,
String namedFormal,
boolean outFlagged,
TObjectName bareReference,
List<TObjectName> leafReferences,
String expressionText,
boolean literal,
boolean defaultToken) |
| Modifier and Type | Method and Description |
|---|---|
TObjectName |
getBareReference()
Non-null when the actual is a bare variable/column reference.
|
String |
getExpressionText()
Expression text when the actual is neither bare nor literal; else null.
|
List<TObjectName> |
getLeafReferences()
Leaf object references inside an expression actual (fan-in rule).
|
String |
getNamedFormal()
Formal name of a named-notation actual (mssql
@p = v); null when positional. |
int |
getPosition()
0-based position among the call's actuals (call-site order).
|
boolean |
isDefaultToken()
True for an explicit
DEFAULT actual: the declared default
applies — the formal must HAVE one, and no source binds. |
boolean |
isLiteral()
True when the actual is a compile-time literal (binds no source).
|
boolean |
isOutFlagged()
True when the call site flags this actual OUT/OUTPUT.
|
public Actual(int position, String namedFormal, boolean outFlagged, TObjectName bareReference, List<TObjectName> leafReferences, String expressionText, boolean literal)
public Actual(int position, String namedFormal, boolean outFlagged, TObjectName bareReference, List<TObjectName> leafReferences, String expressionText, boolean literal, boolean defaultToken)
public boolean isDefaultToken()
DEFAULT actual: the declared default
applies — the formal must HAVE one, and no source binds.public int getPosition()
public String getNamedFormal()
@p = v); null when positional.public boolean isOutFlagged()
public TObjectName getBareReference()
public List<TObjectName> getLeafReferences()
public String getExpressionText()
public boolean isLiteral()