org.sonar.python.lexer
Class IndentationPreprocessor
java.lang.Object
com.sonar.sslr.api.Preprocessor
org.sonar.python.lexer.IndentationPreprocessor
public class IndentationPreprocessor
- extends com.sonar.sslr.api.Preprocessor
http://docs.python.org/reference/lexical_analysis.html#indentation
|
Method Summary |
void |
init()
|
com.sonar.sslr.api.PreprocessorAction |
process(List<com.sonar.sslr.api.Token> tokens)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndentationPreprocessor
public IndentationPreprocessor(LexerState lexerState)
init
public void init()
- Overrides:
init in class com.sonar.sslr.api.Preprocessor
process
public com.sonar.sslr.api.PreprocessorAction process(List<com.sonar.sslr.api.Token> tokens)
- Specified by:
process in class com.sonar.sslr.api.Preprocessor
Copyright © 2011-2014 SonarSource and Waleri Enns. All Rights Reserved.