public interface SourceLexicalElement extends SourceElement
| Modifier and Type | Field and Description |
|---|---|
static SourceLexicalElement[] |
EMPTY_ARRAY |
CHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getText()
Gets the raw text for this SourceElement.
|
int |
getTokenValue() |
void |
setText(java.lang.String text)
Attempts to replace the text of this lexical element with the input
raw text.
|
addSelf, addSelf, addSelfAfter, addSelfBefore, adjustTextIndentation, clearBinding, cloneSelf, compile, createContext, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getContext, getEndOffset, getFirstToken, getJdkVersion, getLastToken, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingAfter, getSiblingBefore, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getTokens, getTokens, hasErrors, print, print, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelfstatic final SourceLexicalElement[] EMPTY_ARRAY
int getTokenValue()
java.lang.String getText()
SourceElementgetText in interface SourceElementvoid setText(java.lang.String text)
java.lang.UnsupportedOperationException - if this operation is illegal.