/ . / CalcAttr / spark.py / GenericParser
Methods
|
|
|
resolve
|
resolve ( self, list )
|
|
augment
|
augment ( self, start )
|
|
buildTree
|
buildTree (
self,
tokens,
tree,
root,
)
|
|
addRule
|
addRule (
self,
doc,
func,
)
|
|
buildState
|
buildState (
self,
token,
states,
i,
tree,
)
|
|
parse
|
parse ( self, tokens )
|
|
typestring
|
typestring ( self, token )
|
|
ambiguity
|
ambiguity ( self, children )
|
|
error
|
error ( self, token )
|
|
preprocess
|
preprocess (
self,
rule,
func,
)
A hook for GenericASTBuilder and GenericASTMatcher.
|
|
makeFIRST
|
makeFIRST ( self )
|
|
collectRules
|
collectRules ( self )
|
|
buildTree_r
|
buildTree_r (
self,
stack,
tokens,
tokpos,
tree,
root,
)
|
|
__init__
|
__init__ ( self, start )
|
|
|