Searched refs:pre_action (Results 1 - 2 of 2) sorted by relevance

/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
H A Dvisitor.rb43 through each node of the tree (top-down left-to-right). If +pre_action+ is
53 @pre_action = nil
58 def pre_action( &block ) method in class:ANTLR3.AST.Visitor
59 block_given? and @pre_action = block
60 return @pre_action
68 def visit( tree, pre_action = nil, post_action = nil )
70 before = pre_action || @pre_action
76 visit( child, pre_action, post_action )
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dtree.py2410 def visit(self, t, pre_action=None, post_action=None):
2419 callables 'pre_action' and 'post_action' instead of a class instance
2426 if pre_action is not None and not isNil:
2428 t = pre_action(t)
2433 self.visit(child, pre_action, post_action)

Completed in 142 milliseconds