All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static void |
clearCaches(TreeElement tree) |
static boolean |
containsOuterLanguageElements(ASTNode node) |
static void |
ensureParsed(ASTNode node) |
static ASTNode |
findChildBackward(ASTNode parent,
IElementType type) |
static ASTNode |
findCommonParent(ASTNode one,
ASTNode two) |
static LeafElement |
findFirstLeaf(ASTNode element) |
static ASTNode |
findFirstLeaf(ASTNode element,
boolean expandChameleons) |
static ASTNode |
findLastLeaf(ASTNode element) |
static ASTNode |
findLastLeaf(ASTNode element,
boolean expandChameleons) |
static ASTNode |
findParent(ASTNode element,
IElementType type) |
static ASTNode |
findParent(ASTNode element,
TokenSet types) |
static ASTNode |
findParent(ASTNode element,
TokenSet types,
TokenSet stopAt) |
static ASTNode |
findSibling(ASTNode start,
IElementType elementType) |
static ASTNode |
findSibling(ASTNode start,
TokenSet types) |
static ASTNode |
findSiblingBackward(ASTNode start,
IElementType elementType) |
static ASTNode |
findSiblingBackward(ASTNode start,
TokenSet types) |
static Couple<ASTNode> |
findTopmostSiblingParents(ASTNode one,
ASTNode two) |
static FileElement |
getFileElement(TreeElement element) |
static ASTNode |
getLastChild(ASTNode element) |
static java.lang.String |
getTokenText(Lexer lexer) |
static boolean |
isCollapsedChameleon(ASTNode node) |
static boolean |
isStrongWhitespaceHolder(IElementType type) |
static boolean |
isWhitespaceOrComment(ASTNode element) |
static ASTNode |
nextLeaf(ASTNode node) |
static ASTNode |
nextLeaf(ASTNode start,
boolean expandChameleons) |
static LeafElement |
nextLeaf(LeafElement node) |
static LeafElement |
nextLeaf(TreeElement start,
TreeUtil.CommonParentState commonParent) |
static TreeElement |
nextLeaf(TreeElement start,
TreeUtil.CommonParentState commonParent,
IElementType searchedType,
boolean expandChameleons) |
static ASTNode |
prevLeaf(ASTNode node) |
static ASTNode |
prevLeaf(ASTNode start,
boolean expandChameleons) |
static ASTNode |
prevLeaf(TreeElement start,
TreeUtil.CommonParentState commonParent) |
static ASTNode |
skipElements(ASTNode element,
TokenSet types) |
static ASTNode |
skipElementsBack(ASTNode element,
TokenSet types) |
static ASTNode |
skipWhitespaceAndComments(ASTNode node,
boolean forward) |
static ASTNode |
skipWhitespaceCommentsAndTokens(ASTNode node,
TokenSet alsoSkip,
boolean forward) |