com.sonar.sslr.impl.channel
Class IdentifierAndKeywordChannel

java.lang.Object
  extended by org.sonar.channel.Channel<Lexer>
      extended by com.sonar.sslr.impl.channel.IdentifierAndKeywordChannel

public class IdentifierAndKeywordChannel
extends org.sonar.channel.Channel<Lexer>


Constructor Summary
IdentifierAndKeywordChannel(String regexp, boolean caseSensitive, TokenType[]... keywordSets)
           
 
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
 

Constructor Detail

IdentifierAndKeywordChannel

public IdentifierAndKeywordChannel(String regexp,
                                   boolean caseSensitive,
                                   TokenType[]... keywordSets)
Throws:
PatternSyntaxException - if the expression's syntax is invalid
Method Detail

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.