Package org.sonar.python.api
Class PythonGrammarBuilder
- java.lang.Object
-
- org.sonar.python.api.PythonGrammarBuilder
-
- Direct Known Subclasses:
IPythonGrammarBuilder
public class PythonGrammarBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description PythonGrammarBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidannotatedRhs(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)protected voidcompoundStatements(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)Compound statements http://docs.python.org/reference/compound_stmts.htmlcom.sonar.sslr.api.Grammarcreate()protected voidexpressions(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)Expressions http://docs.python.org/reference/expressions.htmlprotected voidfileInput(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)protected voidgrammar(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)protected voidsetupRules(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)protected voidsimpleStatement(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)protected voidsimpleStatements(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)Simple statements http://docs.python.org/reference/simple_stmts.html
-
-
-
Field Detail
-
ASYNC
public static final String ASYNC
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public com.sonar.sslr.api.Grammar create()
-
setupRules
protected void setupRules(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)
-
fileInput
protected void fileInput(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)
-
grammar
protected void grammar(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)
-
annotatedRhs
protected void annotatedRhs(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)
-
expressions
protected void expressions(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)
Expressions http://docs.python.org/reference/expressions.html
-
simpleStatements
protected void simpleStatements(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)
Simple statements http://docs.python.org/reference/simple_stmts.html
-
simpleStatement
protected void simpleStatement(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)
-
compoundStatements
protected void compoundStatements(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)
Compound statements http://docs.python.org/reference/compound_stmts.html
-
-