public

Inheritance Graph

graph BT
	ASTNode
	ASTNode --> EReferenceCounter
	AnnotatedStatement --> ASTNode
	Block --> ASTNode
	BoolValueExpr --> ASTNode
	BreakStatement --> ASTNode
	ConditionalExpr --> ASTNode
	ContinueStatement --> ASTNode
	ExitStatement --> ASTNode
	FunctionCallExpr --> ASTNode
	GetAttributeExpr --> ASTNode
	IdentifierValueExpr --> ASTNode
	IfStatement --> ASTNode
	LogicOpExpr --> ASTNode
	LoopStatement --> ASTNode
	NumberValueExpr --> ASTNode
	ReturnStatement --> ASTNode
	SetAttributeExpr --> ASTNode
	StringValueExpr --> ASTNode
	SwitchCaseStatement --> ASTNode
	ThrowStatement --> ASTNode
	TryCatchStatement --> ASTNode
	UserFunctionExpr --> ASTNode
	VoidValueExpr --> ASTNode
	YieldStatement --> ASTNode
	click ASTNode "classEScript_1_1AST_1_1ASTNode"
	click EReferenceCounter "classEScript_1_1EReferenceCounter"
	click AnnotatedStatement "classEScript_1_1AST_1_1AnnotatedStatement"
	click Block "classEScript_1_1AST_1_1Block"
	click BoolValueExpr "classEScript_1_1AST_1_1BoolValueExpr"
	click BreakStatement "classEScript_1_1AST_1_1BreakStatement"
	click ConditionalExpr "classEScript_1_1AST_1_1ConditionalExpr"
	click ContinueStatement "classEScript_1_1AST_1_1ContinueStatement"
	click ExitStatement "classEScript_1_1AST_1_1ExitStatement"
	click FunctionCallExpr "classEScript_1_1AST_1_1FunctionCallExpr"
	click GetAttributeExpr "classEScript_1_1AST_1_1GetAttributeExpr"
	click IdentifierValueExpr "classEScript_1_1AST_1_1IdentifierValueExpr"
	click IfStatement "classEScript_1_1AST_1_1IfStatement"
	click LogicOpExpr "classEScript_1_1AST_1_1LogicOpExpr"
	click LoopStatement "classEScript_1_1AST_1_1LoopStatement"
	click NumberValueExpr "classEScript_1_1AST_1_1NumberValueExpr"
	click ReturnStatement "classEScript_1_1AST_1_1ReturnStatement"
	click SetAttributeExpr "classEScript_1_1AST_1_1SetAttributeExpr"
	click StringValueExpr "classEScript_1_1AST_1_1StringValueExpr"
	click SwitchCaseStatement "classEScript_1_1AST_1_1SwitchCaseStatement"
	click ThrowStatement "classEScript_1_1AST_1_1ThrowStatement"
	click TryCatchStatement "classEScript_1_1AST_1_1TryCatchStatement"
	click UserFunctionExpr "classEScript_1_1AST_1_1UserFunctionExpr"
	click VoidValueExpr "classEScript_1_1AST_1_1VoidValueExpr"
	click YieldStatement "classEScript_1_1AST_1_1YieldStatement"

Description

[ ASTNode ] > [ EReferenceCounter ]

Public Types

   
   
typedef std::vector< ERef < ASTNode > > refArray_t
   
typedef EPtr < ASTNode > ptr_t
   
typedef ERef < ASTNode > ref_t
   
typedef uint8_t nodeType_t

Public Static Attributes

   
   
const nodeType_t TYPE_ANNOTATED_STATEMENT
   
const nodeType_t TYPE_BLOCK_EXPRESSION
   
const nodeType_t TYPE_BLOCK_STATEMENT
   
const nodeType_t TYPE_BREAK_STATEMENT
   
const nodeType_t TYPE_CONDITIONAL_EXPRESSION
   
const nodeType_t TYPE_CONTINUE_STATEMENT
   
const nodeType_t TYPE_EXIT_STATEMENT
   
const nodeType_t TYPE_FOREACH_STATEMENT
   
const nodeType_t TYPE_FUNCTION_CALL_EXPRESSION
   
const nodeType_t TYPE_GET_ATTRIBUTE_EXPRESSION
   
const nodeType_t TYPE_IF_STATEMENT
   
const nodeType_t TYPE_LOGIC_OP_EXPRESSION
   
const nodeType_t TYPE_LOOP_STATEMENT
   
const nodeType_t TYPE_RETURN_STATEMENT
   
const nodeType_t TYPE_SET_ATTRIBUTE_EXPRESSION
   
const nodeType_t TYPE_SWITCH_STATEMENT
   
const nodeType_t TYPE_THROW_STATEMENT
   
const nodeType_t TYPE_TRY_CATCH_STATEMENT
   
const nodeType_t TYPE_USER_FUNCTION_EXPRESSION
   
const nodeType_t TYPE_VALUE_BOOL
   
const nodeType_t TYPE_VALUE_FLOATING_POINT
   
const nodeType_t TYPE_VALUE_IDENTIFIER
   
const nodeType_t TYPE_VALUE_STRING
   
const nodeType_t TYPE_VALUE_VOID
   
const nodeType_t TYPE_YIELD_STATEMENT

Public Functions

   
   
  ~ASTNode()
   
nodeType_t getNodeType() const
   
int getLine() const
   
bool isExpression() const
   
void setLine(int l)

Protected Functions

   
   
  ASTNode( nodeType_t _typeId, bool _isExpression, int _line)
   
void convert( nodeType_t _typeId, bool _isExpression)

Documentation

typedef
EScript::AST::ASTNode::refArray_t

public
 
 
typedef std::vector< ERef < ASTNode > > refArray_t

Defined in EScript/EScript/Compiler/AST/ASTNode.h:26


typedef
EScript::AST::ASTNode::ptr_t

public
 
 
typedef EPtr < ASTNode > ptr_t

Defined in EScript/EScript/Compiler/AST/ASTNode.h:27


typedef
EScript::AST::ASTNode::ref_t

public
 
 
typedef ERef < ASTNode > ref_t

Defined in EScript/EScript/Compiler/AST/ASTNode.h:28


typedef
EScript::AST::ASTNode::nodeType_t

public
 
 
typedef uint8_t nodeType_t

Defined in EScript/EScript/Compiler/AST/ASTNode.h:30


variable
EScript::AST::ASTNode::TYPE_ANNOTATED_STATEMENT

public static
 
 
const nodeType_t TYPE_ANNOTATED_STATEMENT

Defined in EScript/EScript/Compiler/AST/ASTNode.h:32


variable
EScript::AST::ASTNode::TYPE_BLOCK_EXPRESSION

public static
 
 
const nodeType_t TYPE_BLOCK_EXPRESSION

Defined in EScript/EScript/Compiler/AST/ASTNode.h:33


variable
EScript::AST::ASTNode::TYPE_BLOCK_STATEMENT

public static
 
 
const nodeType_t TYPE_BLOCK_STATEMENT

Defined in EScript/EScript/Compiler/AST/ASTNode.h:34


variable
EScript::AST::ASTNode::TYPE_BREAK_STATEMENT

public static
 
 
const nodeType_t TYPE_BREAK_STATEMENT

Defined in EScript/EScript/Compiler/AST/ASTNode.h:35


variable
EScript::AST::ASTNode::TYPE_CONDITIONAL_EXPRESSION

public static
 
 
const nodeType_t TYPE_CONDITIONAL_EXPRESSION

Defined in EScript/EScript/Compiler/AST/ASTNode.h:36


variable
EScript::AST::ASTNode::TYPE_CONTINUE_STATEMENT

public static
 
 
const nodeType_t TYPE_CONTINUE_STATEMENT

Defined in EScript/EScript/Compiler/AST/ASTNode.h:37


variable
EScript::AST::ASTNode::TYPE_EXIT_STATEMENT

public static
 
 
const nodeType_t TYPE_EXIT_STATEMENT

Defined in EScript/EScript/Compiler/AST/ASTNode.h:38


variable
EScript::AST::ASTNode::TYPE_FOREACH_STATEMENT

public static
 
 
const nodeType_t TYPE_FOREACH_STATEMENT

Defined in EScript/EScript/Compiler/AST/ASTNode.h:39


variable
EScript::AST::ASTNode::TYPE_FUNCTION_CALL_EXPRESSION

public static
 
 
const nodeType_t TYPE_FUNCTION_CALL_EXPRESSION

Defined in EScript/EScript/Compiler/AST/ASTNode.h:40


variable
EScript::AST::ASTNode::TYPE_GET_ATTRIBUTE_EXPRESSION

public static
 
 
const nodeType_t TYPE_GET_ATTRIBUTE_EXPRESSION

Defined in EScript/EScript/Compiler/AST/ASTNode.h:41


variable
EScript::AST::ASTNode::TYPE_IF_STATEMENT

public static
 
 
const nodeType_t TYPE_IF_STATEMENT

Defined in EScript/EScript/Compiler/AST/ASTNode.h:42


variable
EScript::AST::ASTNode::TYPE_LOGIC_OP_EXPRESSION

public static
 
 
const nodeType_t TYPE_LOGIC_OP_EXPRESSION

Defined in EScript/EScript/Compiler/AST/ASTNode.h:43


variable
EScript::AST::ASTNode::TYPE_LOOP_STATEMENT

public static
 
 
const nodeType_t TYPE_LOOP_STATEMENT

Defined in EScript/EScript/Compiler/AST/ASTNode.h:44


variable
EScript::AST::ASTNode::TYPE_RETURN_STATEMENT

public static
 
 
const nodeType_t TYPE_RETURN_STATEMENT

Defined in EScript/EScript/Compiler/AST/ASTNode.h:45


variable
EScript::AST::ASTNode::TYPE_SET_ATTRIBUTE_EXPRESSION

public static
 
 
const nodeType_t TYPE_SET_ATTRIBUTE_EXPRESSION

Defined in EScript/EScript/Compiler/AST/ASTNode.h:46


variable
EScript::AST::ASTNode::TYPE_SWITCH_STATEMENT

public static
 
 
const nodeType_t TYPE_SWITCH_STATEMENT

Defined in EScript/EScript/Compiler/AST/ASTNode.h:47


variable
EScript::AST::ASTNode::TYPE_THROW_STATEMENT

public static
 
 
const nodeType_t TYPE_THROW_STATEMENT

Defined in EScript/EScript/Compiler/AST/ASTNode.h:48


variable
EScript::AST::ASTNode::TYPE_TRY_CATCH_STATEMENT

public static
 
 
const nodeType_t TYPE_TRY_CATCH_STATEMENT

Defined in EScript/EScript/Compiler/AST/ASTNode.h:49


variable
EScript::AST::ASTNode::TYPE_USER_FUNCTION_EXPRESSION

public static
 
 
const nodeType_t TYPE_USER_FUNCTION_EXPRESSION

Defined in EScript/EScript/Compiler/AST/ASTNode.h:50


variable
EScript::AST::ASTNode::TYPE_VALUE_BOOL

public static
 
 
const nodeType_t TYPE_VALUE_BOOL

Defined in EScript/EScript/Compiler/AST/ASTNode.h:51


variable
EScript::AST::ASTNode::TYPE_VALUE_FLOATING_POINT

public static
 
 
const nodeType_t TYPE_VALUE_FLOATING_POINT

Defined in EScript/EScript/Compiler/AST/ASTNode.h:52


variable
EScript::AST::ASTNode::TYPE_VALUE_IDENTIFIER

public static
 
 
const nodeType_t TYPE_VALUE_IDENTIFIER

Defined in EScript/EScript/Compiler/AST/ASTNode.h:53


variable
EScript::AST::ASTNode::TYPE_VALUE_STRING

public static
 
 
const nodeType_t TYPE_VALUE_STRING

Defined in EScript/EScript/Compiler/AST/ASTNode.h:54


variable
EScript::AST::ASTNode::TYPE_VALUE_VOID

public static
 
 
const nodeType_t TYPE_VALUE_VOID

Defined in EScript/EScript/Compiler/AST/ASTNode.h:55


variable
EScript::AST::ASTNode::TYPE_YIELD_STATEMENT

public static
 
 
const nodeType_t TYPE_YIELD_STATEMENT

Defined in EScript/EScript/Compiler/AST/ASTNode.h:56


function
EScript::AST::ASTNode::~ASTNode

public inline virtual
   
   
~ASTNode( )

Defined in EScript/EScript/Compiler/AST/ASTNode.h:58


function
EScript::AST::ASTNode::getNodeType

public const inline
   
   
nodeType_t getNodeType( ) const

Defined in EScript/EScript/Compiler/AST/ASTNode.h:60


function
EScript::AST::ASTNode::getLine

public const inline
   
   
int getLine( ) const

Defined in EScript/EScript/Compiler/AST/ASTNode.h:61


function
EScript::AST::ASTNode::isExpression

public const inline
   
   
bool isExpression( ) const

Defined in EScript/EScript/Compiler/AST/ASTNode.h:62


function
EScript::AST::ASTNode::setLine

public inline
     
     
void setLine( int l )

Defined in EScript/EScript/Compiler/AST/ASTNode.h:63


function
EScript::AST::ASTNode::ASTNode

protected inline
     
     
ASTNode( nodeType_t _typeId,
  bool _isExpression,
  int _line
)    

Defined in EScript/EScript/Compiler/AST/ASTNode.h:66


function
EScript::AST::ASTNode::convert

protected inline
     
     
void convert( nodeType_t _typeId,
  bool _isExpression
)    

Defined in EScript/EScript/Compiler/AST/ASTNode.h:68