org.sonar.python.parser
Class PythonGrammarImpl

java.lang.Object
  extended by com.sonar.sslr.api.Grammar
      extended by org.sonar.python.api.PythonGrammar
          extended by org.sonar.python.parser.PythonGrammarImpl

public class PythonGrammarImpl
extends PythonGrammar

Based on http://docs.python.org/reference/grammar.html


Field Summary
 
Fields inherited from class org.sonar.python.api.PythonGrammar
a_expr, and_expr, and_test, arglist, argument, assert_stmt, atom, augassign, break_stmt, classdef, classname, comp_for, comp_if, comp_iter, comp_operator, comparison, compound_stmt, continue_stmt, decorator, decorators, del_stmt, dictorsetmaker, dotted_as_name, dotted_as_names, dotted_name, except_clause, exec_stmt, expr, expression_stmt, exprlist, factor, file_input, for_stmt, fpdef, fplist, funcdef, funcname, global_stmt, if_stmt, import_as_name, import_as_names, import_from, import_name, import_stmt, lambdef, lambdef_nocond, m_expr, name, nonlocal_stmt, not_test, or_expr, or_test, pass_stmt, power, print_stmt, raise_stmt, return_stmt, shift_expr, simple_stmt, sliceop, star_expr, statement, stmt_list, subscript, subscriptlist, suite, test, test_nocond, testlist, testlist_comp, testlist_star_expr, trailer, try_stmt, varargslist, while_stmt, with_item, with_stmt, xor_expr, yield_expr, yield_stmt
 
Constructor Summary
PythonGrammarImpl()
           
 
Method Summary
 
Methods inherited from class org.sonar.python.api.PythonGrammar
getRootRule
 
Methods inherited from class com.sonar.sslr.api.Grammar
getAllRuleFields, getRuleFields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PythonGrammarImpl

public PythonGrammarImpl()


Copyright © 2011-2012 SonarSource and Waleri Enns. All Rights Reserved.