Aseba::FoldedWhileNode Struct Reference
[AESL Compiler]

#include <tree.h>

Inheritance diagram for Aseba::FoldedWhileNode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void emit (PreLinkBytecode &bytecodes) const
 Generate bytecode.
 FoldedWhileNode (const SourcePos &sourcePos)
 Constructor.
virtual unsigned getStackDepth () const
 Return the stack depth requirement for this node and its children.
virtual Nodeoptimize (std::ostream *dump)
 Optimize this node, return the optimized node.
virtual std::string toNodeName () const
 Return a string representation of the name of this node.
virtual std::string toString () const
 Return a string representation of this node.

Public Attributes

AsebaBinaryOperator op
 operator

Detailed Description

Node for "while" with operator folded inside. children[0] is left part of expression children[1] is right part of expression children[2] is block

Definition at line 185 of file tree.h.


Constructor & Destructor Documentation

Aseba::FoldedWhileNode::FoldedWhileNode ( const SourcePos sourcePos  )  [inline]

Constructor.

Definition at line 190 of file tree.h.


Member Function Documentation

virtual std::string Aseba::FoldedWhileNode::toNodeName (  )  const [inline, virtual]

Return a string representation of the name of this node.

Implements Aseba::Node.

Definition at line 196 of file tree.h.


Member Data Documentation

operator

Definition at line 187 of file tree.h.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


asebaros
Author(s): $author
autogenerated on Mon Sep 5 08:42:13 2011