Package org.sonar.python.lexer
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconsume(org.sonar.sslr.channel.CodeReader code, com.sonar.sslr.impl.Lexer output)
-
Constructor Details
-
NewLineChannel
-
-
Method Details
-
consume
public boolean consume(org.sonar.sslr.channel.CodeReader code, com.sonar.sslr.impl.Lexer output) - Specified by:
consumein classorg.sonar.sslr.channel.Channel<com.sonar.sslr.impl.Lexer>
-