A class for returning the results of a pattern match. More...
Public Member Functions | |
def | __init__ (self, source, begin, length, node_hits, tree_depth, rules, names, ast, codes=False) |
The Result class constructor. More... | |
def | __str__ (self) |
print(Result) will call this function for a display of the object. More... | |
Public Attributes | |
source | |
index | |
indices | |
match | |
left_context | |
right_context | |
codes | |
rules | |
names | |
ast | |
node_hits | |
max_tree_depth | |
def apg_py.exp.exp.Result.__init__ | ( | self, | |
source, | |||
begin, | |||
length, | |||
node_hits, | |||
tree_depth, | |||
rules, | |||
names, | |||
ast, | |||
codes = False |
|||
) |
def apg_py.exp.exp.Result.__str__ | ( | self | ) |