| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private String | |
| private int | |
| private String | |
| private static final int | |
| private int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | Ref(String
absolute path to the file containing the reference path, int the 0-indexed file offset of the reference offset, String the text of the reference text)Constructor that provides a way for clients to add additional references not associated with an AST node (e.g. inside a comment or doc string). |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public String | |
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public int | |
| public void | |
| public void | |
| public void | |
| public void | |
| public int | |
| public String |
| ATTRIBUTE | back to summary |
|---|---|
| private static final int ATTRIBUTE | |
| CALL | back to summary |
|---|---|
| private static final int CALL | |
| file | back to summary |
|---|---|
| private String file | |
| flags | back to summary |
|---|---|
| private int flags | |
| name | back to summary |
|---|---|
| private String name | |
| NEW | back to summary |
|---|---|
| private static final int NEW | |
| start | back to summary |
|---|---|
| private int start | |
| STRING | back to summary |
|---|---|
| private static final int STRING | |
| Ref | back to summary |
|---|---|
| public Ref(NNode node) | |
| Ref | back to summary |
|---|---|
| public Ref(String path, int offset, String text) Constructor that provides a way for clients to add additional references not associated with an AST node (e.g. inside a comment or doc string). | |
| end | back to summary |
|---|---|
| public int end() Returns the ending file offset of the reference. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getFile | back to summary |
|---|---|
| public String getFile() Returns the file containing the reference. | |
| getName | back to summary |
|---|---|
| public String getName() Returns the text of the reference. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isAttribute | back to summary |
|---|---|
| public boolean isAttribute() Returns | |
| isCall | back to summary |
|---|---|
| public boolean isCall() Returns | |
| isName | back to summary |
|---|---|
| public boolean isName() Returns | |
| isNew | back to summary |
|---|---|
| public boolean isNew() | |
| isRef | back to summary |
|---|---|
| public boolean isRef() | |
| isString | back to summary |
|---|---|
| public boolean isString() Returns | |
| length | back to summary |
|---|---|
| public int length() Returns the length of the reference text. | |
| markAsAttribute | back to summary |
|---|---|
| public void markAsAttribute() | |
| markAsCall | back to summary |
|---|---|
| public void markAsCall() Returns | |
| markAsNew | back to summary |
|---|---|
| public void markAsNew() | |
| markAsString | back to summary |
|---|---|
| public void markAsString() | |
| start | back to summary |
|---|---|
| public int start() Returns the starting file offset of the reference. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |