Searched refs:post_action (Results 1 - 2 of 2) sorted by relevance
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/ |
H A D | visitor.rb | 45 +post_action+ is defined, a node is yielded to the block after all of its 54 @post_action = nil 63 def post_action( &block ) method in class:ANTLR3.AST.Visitor 64 block_given? and @post_action = block 65 return @post_action 68 def visit( tree, pre_action = nil, post_action = nil ) 71 after = post_action || @post_action 76 visit( child, pre_action, post_action )
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
H A D | tree.py | 2410 def visit(self, t, pre_action=None, post_action=None): 2419 callables 'pre_action' and 'post_action' instead of a class instance 2433 self.visit(child, pre_action, post_action) 2436 if post_action is not None and not isNil: 2437 t = post_action(t)
|
Completed in 117 milliseconds