Public Member Functions | List of all members
Command Struct Referenceabstract
Inheritance diagram for Command:
Inheritance graph

Public Member Functions

virtual ~Command ()
virtual bool matches (const char *code) const =0
virtual int call (Interpreter &interpret) const =0
const Locationpc () const

Detailed Description

Definition at line 757 of file aisc_commands.c.

Constructor & Destructor Documentation

virtual Command::~Command ( )

Definition at line 758 of file aisc_commands.c.

Member Function Documentation

virtual bool Command::matches ( const char code) const
pure virtual

Implemented in NamedCommand, and NoSuchCommand.

virtual int Command::call ( Interpreter interpret) const
pure virtual
const Location& Command::pc ( ) const

Definition at line 762 of file aisc_commands.c.

References Interpreter::at(), and Code::source.

Referenced by Interpreter::at(), and NamedCommand::check_result().

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