yacc::Grammar Class Reference

List of all members.

Public Member Functions

def __init__
def __len__
def __getitem__
def set_precedence
def add_production
def set_start
def find_unreachable
def infinite_cycles
def undefined_symbols
def unused_terminals
def unused_rules
def unused_precedence
def compute_first
def compute_follow
def build_lritems

Public Attributes

 Productions
 Prodnames
 Prodmap
 Terminals
 Nonterminals
 First
 Follow
 Precedence
 UsedPrecedence
 Start

Detailed Description

Definition at line 1314 of file yacc.py.


Member Function Documentation

def yacc::Grammar::__getitem__ (   self,
  index 
)

Definition at line 1354 of file yacc.py.

def yacc::Grammar::__init__ (   self,
  terminals 
)

Definition at line 1315 of file yacc.py.

def yacc::Grammar::__len__ (   self  ) 

Definition at line 1351 of file yacc.py.

def yacc::Grammar::add_production (   self,
  prodname,
  syms,
  func = None,
  file = '',
  line = 0 
)

Definition at line 1390 of file yacc.py.

def yacc::Grammar::build_lritems (   self  ) 

Definition at line 1777 of file yacc.py.

def yacc::Grammar::compute_first (   self  ) 

Definition at line 1681 of file yacc.py.

def yacc::Grammar::compute_follow (   self,
  start = None 
)

Definition at line 1718 of file yacc.py.

def yacc::Grammar::find_unreachable (   self  ) 

Definition at line 1489 of file yacc.py.

def yacc::Grammar::infinite_cycles (   self  ) 

Definition at line 1518 of file yacc.py.

def yacc::Grammar::set_precedence (   self,
  term,
  assoc,
  level 
)

Definition at line 1365 of file yacc.py.

def yacc::Grammar::set_start (   self,
  start = None 
)

Definition at line 1473 of file yacc.py.

def yacc::Grammar::undefined_symbols (   self  ) 

Definition at line 1583 of file yacc.py.

def yacc::Grammar::unused_precedence (   self  ) 

Definition at line 1631 of file yacc.py.

def yacc::Grammar::unused_rules (   self  ) 

Definition at line 1614 of file yacc.py.

def yacc::Grammar::unused_terminals (   self  ) 

Definition at line 1599 of file yacc.py.


Member Data Documentation

yacc::Grammar::First

Definition at line 1337 of file yacc.py.

yacc::Grammar::Follow

Definition at line 1339 of file yacc.py.

yacc::Grammar::Nonterminals

Definition at line 1334 of file yacc.py.

yacc::Grammar::Precedence

Definition at line 1341 of file yacc.py.

yacc::Grammar::Prodmap

Definition at line 1323 of file yacc.py.

yacc::Grammar::Prodnames

Definition at line 1320 of file yacc.py.

yacc::Grammar::Productions

Definition at line 1316 of file yacc.py.

yacc::Grammar::Start

Definition at line 1348 of file yacc.py.

yacc::Grammar::Terminals

Definition at line 1326 of file yacc.py.

yacc::Grammar::UsedPrecedence

Definition at line 1344 of file yacc.py.


The documentation for this class was generated from the following file:
Generated on 19 Dec 2016 for PSDMSoftware by  doxygen 1.4.7