Class PythonGrammarBuilder

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String ASYNC  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void annotatedRhs​(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)  
      protected void compoundStatements​(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)
      Compound statements http://docs.python.org/reference/compound_stmts.html
      com.sonar.sslr.api.Grammar create()  
      protected void expressions​(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)
      Expressions http://docs.python.org/reference/expressions.html
      protected void fileInput​(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)  
      protected void grammar​(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)  
      protected void setupRules​(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)  
      protected void simpleStatement​(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)  
      protected void simpleStatements​(org.sonar.sslr.grammar.LexerfulGrammarBuilder b)
      Simple statements http://docs.python.org/reference/simple_stmts.html
    • Constructor Detail

      • PythonGrammarBuilder

        public PythonGrammarBuilder()
    • 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