Package org.sonar.python.api
Class PythonGrammarBuilder
java.lang.Object
org.sonar.python.api.PythonGrammarBuilder
- Direct Known Subclasses:
IPythonGrammarBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
ASYNC
- See Also:
-
-
Constructor Details
-
PythonGrammarBuilder
public PythonGrammarBuilder()
-
-
Method Details
-
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
-