public class UptoTokenMatcher extends TokenMatcher
Constructor and Description |
---|
UptoTokenMatcher(String[] uptoMatchTokens) |
public UptoTokenMatcher(String[] uptoMatchTokens)
public boolean matchToken(TokenQueue tokenQueue, List<Token> matchedTokenList)
matchToken
in class TokenMatcher
tokenQueue
- queue of tokens for consumption, which contains at least one elementmatchedTokenList
- list to populate by tokens, which were consumedCopyright © 2009-2012 SonarSource. All Rights Reserved.