|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface PsiBuilder.Marker
A marker defines a range in the document text which becomes a node in the AST tree. The ranges defined by markers within the text range of the current marker become child nodes of the node defined by the current marker.
| Method Summary | |
|---|---|
void |
done(IElementType type)
Completes this marker and labels it with the specified AST node type. |
void |
drop()
Drops this marker. |
PsiBuilder.Marker |
precede()
Creates and returns a new marker starting immediately before the start of this marker and extending after its end. |
void |
rollbackTo()
Drops this marker and all markers added after it, and reverts the lexer position to the position of this marker. |
| Method Detail |
|---|
PsiBuilder.Marker precede()
void drop()
void rollbackTo()
void done(IElementType type)
type - the type of the node in the AST tree.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||