API reference
python:irx:irx.builder.base.BuilderVisitor.translate
method translate
translate(expr: astx.AST) -> str
Source: packages/irx/src/irx/builder/base.py:168
Translate an ASTx expression to string.
Parameters
- expr — Expression to process.; Type: astx.AST
Returns
Result of this operation: translate an ASTx expression to string.; Type: str
Examples
self.visit(expr) return str(self.result)