StrConstNode Struct Reference

#include <ast.h>

Inheritance diagram for StrConstNode:

Inheritance graph
[legend]
List of all members.

Public Member Functions

U32 precompile (TypeReq type)
U32 compile (U32 *codeStream, U32 ip, TypeReq type)
TypeReq getPreferredType ()

Static Public Member Functions

static StrConstNodealloc (char *str, bool tag, bool doc=false)

Public Attributes

char * str
F64 fVal
U32 index
bool tag
bool doc

Member Function Documentation

static StrConstNode* StrConstNode::alloc ( char *  str,
bool  tag,
bool  doc = false 
) [static]

U32 StrConstNode::precompile ( TypeReq  type  )  [virtual]

Implements ExprNode.

U32 StrConstNode::compile ( U32 codeStream,
U32  ip,
TypeReq  type 
) [virtual]

Implements ExprNode.

TypeReq StrConstNode::getPreferredType (  )  [virtual]

Implements ExprNode.


Member Data Documentation