ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::Tools::ASTCommand Struct Reference

Command AST Node. More...

#include <abstractsyntaxtree.h>

Inheritance diagram for Stark::Tools::ASTCommand:
Collaboration diagram for Stark::Tools::ASTCommand:

List of all members.

Public Member Functions

 ASTCommand (ASTNode *parent, Command *command, DefinitionRegistry *definitions)
void print (uint depth, DefinitionRegistry *definitions) override
Common::Array< const ASTCommand * > listCommands (uint16 index) const override
void findSuccessorsIntern (const ASTNode *node, ASTNode **follower, ASTNode **trueBranch, ASTNode **falseBranch) const override
const ASTCommandgetFirstCommand () const override
Common::String callString (DefinitionRegistry *definitions)
 Build a script source code call for this command.

Detailed Description

Command AST Node.

Commands are leaf AST nodes. They represent an engine command call.

Definition at line 68 of file abstractsyntaxtree.h.

Constructor & Destructor Documentation

Stark::Tools::ASTCommand::ASTCommand ( ASTNode parent,
Command command,
DefinitionRegistry definitions 

Definition at line 116 of file abstractsyntaxtree.cpp.

Member Function Documentation

Common::String Stark::Tools::ASTCommand::callString ( DefinitionRegistry definitions  ) 

Build a script source code call for this command.

Definition at line 132 of file abstractsyntaxtree.cpp.

void Stark::Tools::ASTCommand::findSuccessorsIntern ( const ASTNode node,
ASTNode **  follower,
ASTNode **  trueBranch,
ASTNode **  falseBranch 
) const [override]

Definition at line 146 of file abstractsyntaxtree.cpp.

const ASTCommand * Stark::Tools::ASTCommand::getFirstCommand (  )  const [override]

Definition at line 152 of file abstractsyntaxtree.cpp.

Common::Array< const ASTCommand * > Stark::Tools::ASTCommand::listCommands ( uint16  index  )  const [override]

Definition at line 136 of file abstractsyntaxtree.cpp.

void Stark::Tools::ASTCommand::print ( uint  depth,
DefinitionRegistry definitions 
) [override]

Definition at line 128 of file abstractsyntaxtree.cpp.

The documentation for this struct was generated from the following files:

Generated on Sat May 18 2019 05:07:36 for ResidualVM by doxygen 1.7.1
curved edge   curved edge