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
|
Method Summary |
boolean |
consume(org.sonar.sslr.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 |
NewLineChannel
public NewLineChannel(LexerState lexerState)
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>
Copyright © 2011-2014 SonarSource and Waleri Enns. All Rights Reserved.