Class NewLineChannel

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

public class NewLineChannel extends org.sonar.sslr.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 Details

    • NewLineChannel

      public NewLineChannel(LexerState lexerState)
  • Method Details

    • consume

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