org.sonar.python.lexer
Class NewLineChannel

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

public class NewLineChannel
extends org.sonar.channel.Channel<com.sonar.sslr.impl.Lexer>

http://docs.python.org/reference/lexical_analysis.html#explicit-line-joining http://docs.python.org/reference/lexical_analysis.html#implicit-line-joining http://docs.python.org/reference/lexical_analysis.html#blank-lines


Constructor Summary
NewLineChannel(LexerState lexerState)
           
 
Method Summary
 boolean consume(org.sonar.channel.CodeReader code, com.sonar.sslr.impl.Lexer output)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewLineChannel

public NewLineChannel(LexerState lexerState)
Method Detail

consume

public boolean consume(org.sonar.channel.CodeReader code,
                       com.sonar.sslr.impl.Lexer output)
Specified by:
consume in class org.sonar.channel.Channel<com.sonar.sslr.impl.Lexer>


Copyright © 2011-2012 SonarSource and Waleri Enns. All Rights Reserved.