org.sonar.python.lexer
Class IndentationPreprocessor

java.lang.Object
  extended by com.sonar.sslr.api.Preprocessor
      extended by org.sonar.python.lexer.IndentationPreprocessor

public class IndentationPreprocessor
extends com.sonar.sslr.api.Preprocessor

http://docs.python.org/reference/lexical_analysis.html#indentation


Constructor Summary
IndentationPreprocessor(LexerState lexerState)
           
 
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
 

Constructor Detail

IndentationPreprocessor

public IndentationPreprocessor(LexerState lexerState)
Method Detail

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.