class AST

Abstract representation of a piece of source code

class AST { }

An AST or Abstract Syntax Tree is a partially processed representation of a program. ASTs are return values of the quasi quoting construct, and are typically used within macros to generate code that is inserted in the calling location of the macro.

There is no API defined for ASTs yet. Hopefully that will emerge as part of the work on macros.

Type Graph

Type relations for AST
perl6-type-graph AST AST Any Any AST->Any Mu Mu Any->Mu

Expand above chart