|
org.netbeans.modules.lexer/2 1.19.0 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.spi.lexer.MutableTextInput<I>
public abstract class MutableTextInput<I>
Mutable attributed character sequence allowing to listen for changes in its text.
The input can temporarily be made inactive which leads to dropping of all the present tokens for the input until the input becomes active again.
Constructor Summary | |
---|---|
MutableTextInput()
|
Method Summary | |
---|---|
protected abstract InputAttributes |
inputAttributes()
Get lexer-specific information about this input or null if there is no specific information. |
protected abstract I |
inputSource()
Get object that logically provides the text for this mutable text input. |
protected abstract Language<? extends TokenId> |
language()
Get the language suitable for lexing of this input. |
protected abstract CharSequence |
text()
Get the character sequence provided and maintained by this input. |
TokenHierarchyControl<I> |
tokenHierarchyControl()
Get token hierarchy control for this mutable text input. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MutableTextInput()
Method Detail |
---|
protected abstract Language<? extends TokenId> language()
protected abstract CharSequence text()
protected abstract InputAttributes inputAttributes()
protected abstract I inputSource()
Document
in case the result of text()
is the content of the document.
public final TokenHierarchyControl<I> tokenHierarchyControl()
getProperty(TokenHierarchyControl.class)
.
|
org.netbeans.modules.lexer/2 1.19.0 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |