public class ATEToken extends Object implements Comparable
| Modifier and Type | Field and Description |
|---|---|
protected String |
attribute |
int |
end |
int |
endLineIndex |
int |
endLineNumber |
int |
index |
boolean |
modified |
ATEScope |
scope |
int |
start
These two fiels are public because ATEPanel needs to access them
really quickly without using accessors.
|
int |
startLineIndex |
int |
startLineNumber |
protected String |
text |
int |
type |
| Constructor and Description |
|---|
ATEToken(int type,
int start,
int end,
int startLineNumber,
int endLineNumber,
int startLineIndex,
int endLineIndex,
String text) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
boolean |
containsIndex(int index) |
boolean |
equals(Object otherObject) |
String |
getAttribute() |
int |
getEndIndex() |
int |
getStartIndex() |
int |
getStartLineIndex() |
String |
getText() |
static boolean |
isLexerName(String name) |
String |
toString() |
public int type
public int startLineNumber
public int endLineNumber
public int startLineIndex
public int endLineIndex
protected String text
public int start
public int end
protected String attribute
public int index
public boolean modified
public ATEScope scope
public ATEToken(int type,
int start,
int end,
int startLineNumber,
int endLineNumber,
int startLineIndex,
int endLineIndex,
String text)
public String getText()
public String getAttribute()
public int getStartLineIndex()
public int getStartIndex()
public int getEndIndex()
public boolean containsIndex(int index)
public int compareTo(Object o)
compareTo in interface Comparablepublic static boolean isLexerName(String name)
Copyright © 2013. All rights reserved.