Method Summary |
|
abstract protected InputAttributes | inputAttributes() Get lexer-specific information about this input
or null if there is no specific information. |
abstract protected I | inputSource() Get object that logically provides the text
for this mutable text input. |
abstract protected boolean | isReadLocked() Called by infrastructure to check if the underlying input source is currently
read-locked by the current thread.
This method is only called when turning on the logger for token hierarchy updates:
-J-Dorg.netbeans.lib.lexer.TokenHierarchyUpdate.level=FINE
It is expected that if write-lock means read-lock too i.e. |
abstract protected boolean | isWriteLocked() Called by infrastructure to check if the underlying input source is currently
write-locked by the current thread. |
abstract protected Language> | language() Get the language suitable for lexing of this input. |
abstract protected CharSequence | text() Get the character sequence provided and maintained by this input. |
final public TokenHierarchyControl<I> | tokenHierarchyControl() Get token hierarchy control for this mutable text input.
Each mutable text input can hold it in a specific way
e.g. |