Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Code::ScriptNode Class Reference

#include <script_node.h>

Public Types

enum  Type { Type::Function = 0, Type::Variable = 1 }
 

Public Member Functions

 ScriptNode ()
 
Type type () const
 
const char * name () const
 
uint16_t scriptIndex () const
 

Static Public Member Functions

static ScriptNode FunctionNode (const char *name, uint16_t scriptIndex)
 
static ScriptNode VariableNode (const char *name, uint16_t scriptIndex)
 

Detailed Description

Definition at line 8 of file script_node.h.

Member Enumeration Documentation

◆ Type

Enumerator
Function 
Variable 

Definition at line 10 of file script_node.h.

Constructor & Destructor Documentation

◆ ScriptNode()

Code::ScriptNode::ScriptNode ( )
inline

Definition at line 14 of file script_node.h.

Member Function Documentation

◆ FunctionNode()

static ScriptNode Code::ScriptNode::FunctionNode ( const char *  name,
uint16_t  scriptIndex 
)
inlinestatic

Definition at line 16 of file script_node.h.

◆ name()

const char* Code::ScriptNode::name ( ) const
inline

Definition at line 23 of file script_node.h.

◆ scriptIndex()

uint16_t Code::ScriptNode::scriptIndex ( ) const
inline

Definition at line 24 of file script_node.h.

◆ type()

Type Code::ScriptNode::type ( ) const
inline

Definition at line 22 of file script_node.h.

◆ VariableNode()

static ScriptNode Code::ScriptNode::VariableNode ( const char *  name,
uint16_t  scriptIndex 
)
inlinestatic

Definition at line 19 of file script_node.h.


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