public class BoundRoutineRef extends IRNode
| Constructor and Description |
|---|
BoundRoutineRef(String originalText,
List<String> nameParts,
EBindingStatus bindingStatus,
BoundRoutineSymbol resolvedRoutine,
List<BoundRoutineSymbol> overloadCandidates,
List<BoundArgument> arguments,
Evidence evidence,
Confidence confidence) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(IRVisitor<R,C> visitor,
C context)
Visitor accept method with generic return type and context.
|
List<BoundArgument> |
getArguments() |
EBindingStatus |
getBindingStatus() |
Confidence |
getConfidence() |
Evidence |
getEvidence() |
IRNodeKind |
getKind()
Returns the node type enumeration value.
|
List<String> |
getNameParts() |
String |
getOriginalText() |
List<BoundRoutineSymbol> |
getOverloadCandidates() |
BoundRoutineSymbol |
getResolvedRoutine() |
String |
toString() |
BoundRoutineRef |
withResolvedRoutine(BoundRoutineSymbol resolved)
Creates a copy of this ref with a resolved routine, updating binding status to EXACT.
|
BoundRoutineRef |
withResolvedRoutine(BoundRoutineSymbol resolved,
EBindingStatus status,
List<BoundRoutineSymbol> candidates,
Evidence newEvidence)
Creates a copy of this ref with the given binding status, resolved routine,
optional overload candidates, and optional evidence.
|
getId, getProperties, getProperty, getSourceAnchor, resetIdGenerator, setProperty, setSourceAnchorpublic BoundRoutineRef(String originalText, List<String> nameParts, EBindingStatus bindingStatus, BoundRoutineSymbol resolvedRoutine, List<BoundRoutineSymbol> overloadCandidates, List<BoundArgument> arguments, Evidence evidence, Confidence confidence)
public String getOriginalText()
public List<String> getNameParts()
public EBindingStatus getBindingStatus()
public BoundRoutineSymbol getResolvedRoutine()
public List<BoundRoutineSymbol> getOverloadCandidates()
public List<BoundArgument> getArguments()
public Evidence getEvidence()
public Confidence getConfidence()
public BoundRoutineRef withResolvedRoutine(BoundRoutineSymbol resolved)
public BoundRoutineRef withResolvedRoutine(BoundRoutineSymbol resolved, EBindingStatus status, List<BoundRoutineSymbol> candidates, Evidence newEvidence)
public IRNodeKind getKind()
IRNodepublic <R,C> R accept(IRVisitor<R,C> visitor, C context)
IRNode