Module: Y2R::AST::YCP

Defined in:
lib/y2r/ast/ycp.rb

Overview

Classes in this module represent YCP AST nodes. Their main taks is to compile themselves into Ruby AST nodes using the |compile| methods and its siblings (|compile_as_block|, etc.).

The structure of the AST is heavily influenced by the structure of XML emitted by ycpc -x.

Defined Under Namespace

Modules: Comments, RubyVar Classes: Assign, Bracket, Break, Builtin, Call, Case, Compare, CompilerContext, Const, Continue, DefBlock, Default, Do, Entry, FileBlock, Filename, FunDef, If, Import, Include, IncludeBlock, List, Locale, Map, MapElement, ModuleBlock, Node, Repeat, Return, StmtBlock, Switch, Symbol, Textdomain, Type, Typedef, UnspecBlock, Variable, While, YCPCode, YEBinary, YEBracket, YEIs, YEPropagate, YEReference, YEReturn, YETerm, YETriple, YEUnary