Method Summary |
|
abstract public void | flip() Flip between open and closed. |
public int | getHighlightState() Returns whether the current char is highlighted. |
abstract public int | getSize() Get the size of the token. |
public ReducedModelState | getState() Get the shadowing state of the token. |
abstract public String | getType() Get the type of the token. |
abstract public void | grow(int delta) Increases the size of the gap. |
public boolean | inBlockComment() Determines whether the current location is inside a block comment. |
public boolean | inLineComment() Determines whether the current location is inside a line comment. |
abstract public boolean | isBlockCommentEnd() |
abstract public boolean | isBlockCommentStart() |
abstract public boolean | isClosed() Determines whether the current location is a closing parenthesis. |
abstract public boolean | isClosedBrace() Determines whether the current location is a closed brace. |
public boolean | isCommented() Indicates whether this brace is commented out. |
abstract public boolean | isDoubleEscape() |
abstract public boolean | isDoubleEscapeSequence() |
abstract public boolean | isDoubleQuote() |
abstract public boolean | isEscapedDoubleQuote() |
abstract public boolean | isEscapedSingleQuote() |
abstract public boolean | isGap() Determines whether the current location is within in gap. |
abstract public boolean | isLineComment() |
abstract public boolean | isMatch(Brace other) Determine if the given token is a open/close match with this. |
abstract public boolean | isMatchable() Return true iff this ReducedToken is a matchable, i.e. |
abstract public boolean | isMultipleCharBrace() Determines whether the current location is part of a multiple char brace. |
abstract public boolean | isNewline() Determines whether the current location is a new line. |
abstract public boolean | isOpen() Determines whether the current location is an opening parenthesis. |
abstract public boolean | isOpenBrace() Determines whether the current location is an open brace. |
public boolean | isQuoted() Indicates whether this brace is inside quotes. |
public boolean | isShadowed() Indicates whether this brace is shadowed. |
abstract public boolean | isSingleQuote() |
abstract public boolean | isSlash() |
abstract public boolean | isStar() |
public void | setState(ReducedModelState state) Set the shadowing state of the token. |
abstract public void | setType(String type) |
abstract public void | shrink(int delta) Decreases the size of the gap. |