-
Nested Class Summary
Nested Classes
-
Method Summary
<T> T
Creates a marker at the current parsing position.
<T> void
Add a new user data value to this object.
Methods inherited from interface com.intellij.lang.SyntaxTreeBuilder
advanceLexer, enforceCommentTokens, eof, error, getCurrentOffset, getLatestDoneMarker, getOriginalText, getTokenText, getTokenType, isWhitespaceOrComment, lookAhead, rawLookup, rawTokenIndex, rawTokenTypeStart, remapCurrentToken, setDebugMode, setTokenTypeRemapper, setWhitespaceSkippedCallback
-
Method Details
-
mark
Creates a marker at the current parsing position.
- Specified by:
mark in interface SyntaxTreeBuilder
- Returns:
- the new marker instance.
-
getUserData
@Nullable
<T> T getUserData(@NotNull
@NotNull Key<T> key)
- Specified by:
getUserData in interface UserDataHolder
- Returns:
- a user data value associated with this object. Doesn't require read action.
-
putUserData
<T> void putUserData(@NotNull
@NotNull Key<T> key,
@Nullable
T value)
Add a new user data value to this object. Doesn't require write action.
- Specified by:
putUserData in interface UserDataHolder
-