com.sonar.sslr.impl.channel
Class IdentifierAndKeywordChannel
java.lang.Object
org.sonar.channel.Channel<Lexer>
com.sonar.sslr.impl.channel.IdentifierAndKeywordChannel
public class IdentifierAndKeywordChannel
- extends org.sonar.channel.Channel<Lexer>
|
Method Summary |
boolean |
consume(org.sonar.channel.CodeReader code,
Lexer lexer)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentifierAndKeywordChannel
public IdentifierAndKeywordChannel(String regexp,
boolean caseSensitive,
TokenType[]... keywordSets)
- Throws:
PatternSyntaxException - if the expression's syntax is invalid
consume
public boolean consume(org.sonar.channel.CodeReader code,
Lexer lexer)
- Specified by:
consume in class org.sonar.channel.Channel<Lexer>
Copyright © 2009-2014 SonarSource. All Rights Reserved.