Public Types | Public Member Functions | Public Attributes

c_command Class Reference

Stores one expression in function. More...

#include <c_command.h>

Collaboration diagram for c_command:

List of all members.

Public Types

enum  e_type {
  CMD_LEFT_BRACKET, CMD_RIGHT_BRACKET, CMD_EXP,
  CMD_IF_EXP, CMD_ELSE, CMD_EXP_SUB,
  CMD_LABEL, CMD_GOTO, CMD_SWITCH,
  CMD_CASE, CMD_BREAK, CMD_CONTINUE,
  CMD_FOR, CMD_WHILE, CMD_DO,
  CMD_FOREACH_1, CMD_FOREACH_2, CMD_FOREACH_3,
  CMD_GLOBAL
}

Public Member Functions

 c_command ()

Public Attributes

string as
 If type == CMD_FOREACH_2: $y value variable.
c_expressioncondition
 If type == CMD_FOR: conditional expression.
string debug
 Debug string.
c_expressionexp
 if type == CMD_EXP: expression
string exp_
 Expression/argument as string.
c_expressioniterative_exp
 If type == CMD_FOR: iterative expression.
string key
 If type == CMD_FOREACH_3: $key variable.
bool ref_value
 If type == CMD_FOREACH_2, CMD_FOREACH_3: true if &$y/&$val is reference.
bool semicolon
 true if there was semicolon at the end of expression
c_expressionsub
 If type == CMD_EXP_SUB: sub-expression.
string sub_
 If type == CMD_EXP_SUB: Subexpression as string.
enum c_command::e_type type
 Type of expression.
string value
 If type == CMD_FOREACH_3: $val variable.
c_expressionwhat_exp
 If type == CMD_FOREACH_1, CMD_FOREACH_2, CMD_FOREACH_3: $x array expression.

Detailed Description

Stores one expression in function.

Author:
VooDooMan
Version:
1
Date:
2005

Definition at line 62 of file c_command.h.


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

Generated on Sat Aug 7 2010 15:28:03 for VooDoo cIRCle by doxygen 1.7.1

Get VooDoo cIRCle at SourceForge.net. Fast, secure and Free Open Source software downloads