|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TokenStreamPattern
| Method Summary | |
|---|---|
boolean |
handleUnmatchedClosing(com.intellij.psi.tree.IElementType token)
Called on right parentheses, brackets, braces and angles (>) |
boolean |
isTopLevel(int openAngleBrackets,
int openBrackets,
int openBraces,
int openParentheses)
Decides if the combination of open bracket counts makes a "top level position" Straightforward meaning would be: if all counts are zero, then it's a top level |
boolean |
processToken(int offset,
boolean topLevel)
Called on each token |
int |
result()
|
| Method Detail |
|---|
boolean processToken(int offset,
boolean topLevel)
offset - topLevel - see isTopLevel(int, int, int, int)
true to stopint result()
boolean isTopLevel(int openAngleBrackets,
int openBrackets,
int openBraces,
int openParentheses)
boolean handleUnmatchedClosing(com.intellij.psi.tree.IElementType token)
token - the closing bracket
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||