public class FormalBinding extends java.lang.Object implements IHasPosition
Modifier and Type | Class and Description |
---|---|
static class |
FormalBinding.ImplicitFormalBinding
A marker class for bindings for which we want to ignore unbound issue and consider them as implicit binding - f.e.
|
Modifier and Type | Field and Description |
---|---|
static FormalBinding[] |
NONE |
Constructor and Description |
---|
FormalBinding(UnresolvedType type,
int index) |
FormalBinding(UnresolvedType type,
java.lang.String name,
int index) |
FormalBinding(UnresolvedType type,
java.lang.String name,
int index,
int start,
int end) |
Modifier and Type | Method and Description |
---|---|
int |
getEnd()
The ending index of this location in the character stream
This points to the last character in this token.
|
int |
getIndex() |
java.lang.String |
getName() |
int |
getStart()
The starting index of this location in the character stream.
|
UnresolvedType |
getType() |
java.lang.String |
toString() |
public static final FormalBinding[] NONE
public FormalBinding(UnresolvedType type, java.lang.String name, int index, int start, int end)
public FormalBinding(UnresolvedType type, int index)
public FormalBinding(UnresolvedType type, java.lang.String name, int index)
public java.lang.String toString()
toString
in class java.lang.Object
public int getEnd()
IHasPosition
getEnd
in interface IHasPosition
public int getStart()
IHasPosition
getStart
in interface IHasPosition
public int getIndex()
public java.lang.String getName()
public UnresolvedType getType()