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

Returns

Result of this operation: translate an ASTx expression to string.; Type: str

Examples

self.visit(expr) return str(self.result)

Search documentation

Type to search.