Bases: titus.pfaast.Expression
Abstract syntax tree for a foreach loop.
Bases: titus.pfaast.ExpressionContext
Walk over tree applying a partial function, returning a list of results in its domain.
| Parameters: | 
  | 
|---|---|
| Return type: | list of function results  | 
| Returns: | a result for each abstract syntax tree node in the pf function’s domain  | 
Convert this abstract syntax tree to Pythonized JSON.
| Parameters: | 
  | 
|---|---|
| Return type: | Pythonized JSON  | 
| Returns: | JSON representation  | 
Walk over tree applying a partial function, returning a transformed copy of the tree.
| Parameters: | 
  | 
|---|---|
| Return type: | new titus.pfaast.Ast tree  | 
| Returns: | tree with nodes in the pf function’s domain transformed; everything else left as-is  | 
Walk over tree applying a titus.pfaast.Task while checking for semantic errors.
This is how Python is generated from an abstract syntax tree: the titus.pfaast.Task in that case is titus.genpy.GeneratePython.
| Parameters: | 
  | 
|---|---|
| Return type: | (titus.pfaast.AstContext, titus.pfaast.TaskResult)  | 
| Returns: | (information about this abstract syntax tree node after type-checking, result of the generic task)  |