public class IJavaElementType extends IElementType
IElementType.PredicateARRAY_FACTORY, EMPTY_ARRAY, FIRST_TOKEN_INDEX, TRUE| Constructor and Description |
|---|
IJavaElementType(java.lang.String debugName) |
IJavaElementType(java.lang.String debugName,
boolean leftBound) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLeftBound()
Controls whitespace balancing behavior of PsiBuilder.
|
enumerate, find, getIndex, getLanguage, hashCode, toString, unregisterElementTypes, unregisterElementTypespublic IJavaElementType(java.lang.String debugName)
public IJavaElementType(java.lang.String debugName,
boolean leftBound)
public boolean isLeftBound()
IElementTypeBy default, empty composite elements (containing no children) are bounded to the right (previous) neighbour, forming following tree:
[previous_element]
[whitespace]
[empty_element]
<empty>
[next_element]
Left-bound elements are bounded to the left (next) neighbour instead:
[previous_element]
[empty_element]
<empty>
[whitespace]
[next_element]
See com.intellij.lang.impl.PsiBuilderImpl.prepareLightTree() for details.
isLeftBound in class IElementType