#include <ShToken.hpp>
Inheritance diagram for SH::ShToken:
Public Member Functions | |
ShToken (ShTokenType type) | |
ShTokenType | type () |
Return the type of this token. | |
void | print (std::ostream &out, int indent) const |
Output a textual representation of this control statement. | |
Public Attributes | |
std::vector< ShTokenArgument > | arguments |
Any arguments bound to the token. May be empty. |
This represents a token such as SH_IF. The token can optionally have some arguments, see ShTokenArgument. Later these tokens will be parsed into real control structures by the parser.
Definition at line 62 of file ShToken.hpp.