#include <FArgument.hpp>
Inheritance diagram for FArgument:
Public Member Functions | |
FArgument (std::string strName) | |
Result * | execute (Context &context) |
Grammar * | clone () |
FArgument::FArgument | ( | std::string | strName | ) |
Creates a new argument with the specified key
[in] | strName | The key or formal parameter associated with this symbol |
Grammar * FArgument::clone | ( | ) | [virtual] |
Looks up the key in the context corresponding to itself and returns the value associated with it.
[in] | context | A mapping of keys to values. |
Implements Grammar.