|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jetbrains.kotlin.parsing.AbstractTokenStreamPattern
org.jetbrains.kotlin.parsing.LastBefore
public class LastBefore
Field Summary |
---|
Fields inherited from class org.jetbrains.kotlin.parsing.AbstractTokenStreamPattern |
---|
lastOccurrence |
Constructor Summary | |
---|---|
LastBefore(TokenStreamPredicate lookFor,
TokenStreamPredicate stopAt)
|
|
LastBefore(TokenStreamPredicate lookFor,
TokenStreamPredicate stopAt,
boolean dontStopRightAfterOccurrence)
|
Method Summary | |
---|---|
boolean |
processToken(int offset,
boolean topLevel)
Called on each token |
Methods inherited from class org.jetbrains.kotlin.parsing.AbstractTokenStreamPattern |
---|
fail, handleUnmatchedClosing, isTopLevel, result |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LastBefore(TokenStreamPredicate lookFor, TokenStreamPredicate stopAt, boolean dontStopRightAfterOccurrence)
public LastBefore(TokenStreamPredicate lookFor, TokenStreamPredicate stopAt)
Method Detail |
---|
public boolean processToken(int offset, boolean topLevel)
TokenStreamPattern
topLevel
- see TokenStreamPattern.isTopLevel(int, int, int, int)
true
to stop
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |