Class IndentationChannel

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

public class IndentationChannel extends org.sonar.sslr.channel.Channel<com.sonar.sslr.impl.Lexer>
http://docs.python.org/reference/lexical_analysis.html#indentation
  • Constructor Details

    • IndentationChannel

      public IndentationChannel(LexerState lexerState)
  • Method Details

    • consume

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