parser.h File Reference

Go to the source code of this file.

Classes

struct   rollout_control
class   Parser
struct   Parser::ParserSourceData
struct   property_accessors

Defines

#define  MAX_TOKEN_SIZE   256
#define  UNDEFINED_MACRO   -1
#define  token_name(tok)   token_names[(int)tok]

Typedefs

typedef RolloutControl *(*  create_fn )(Value *name, Value *caption, Value **keyparms, int keyparm_count)

Enumerations

enum   lex_token {
  t_local, t_global, t_fn, t_mapped,
  t_if, t_then, t_else, t_do,
  t_collect, t_while, t_case, t_open_paren,
  t_close_paren, t_plus, t_times, t_minus,
  t_div, t_power, t_end, t_pluseq,
  t_minuseq, t_timeseq, t_diveq, t_and,
  t_or, t_not, t_number, t_string,
  t_assign, t_semicolon, t_bad, t_badNum,
  t_eol, t_comma, t_open_bracket, t_close_bracket,
  t_colon, t_quote, t_doubleQuote, t_ampersand,
  t_name, t_dot, t_name_literal, t_openCurly,
  t_closeCurly, t_hash, t_eq, t_ne,
  t_lt, t_gt, t_ge, t_le,
  t_for, t_in, t_from, t_to,
  t_by, t_of, t_where, t_as,
  t_parameter_keyword, t_path_name, t_query, t_slash,
  t_ellipsis, t_level_name, t_wild_card_name, t_dot_dot,
  t_end_of_path, t_with, t_animate, t_coordsys,
  t_set, t_undo, t_about, t_at,
  t_on, t_off, t_private, t_public,
  t_max, t_nullary_call, t_utility, t_rollout,
  t_return, t_exit, t_when, t_continue,
  t_struct, t_try, t_catch, t_throw,
  t_eos, t_plugin, t_tool, t_persistent,
  t_parameters, t_rcmenu, t_macroScript, t_dropScript,
  t_attributes, t_tilde, t_resourceID, t_missing
}

Functions

ScripterExport void  install_rollout_control (Value *name, create_fn creator)
property_accessors get_property_accessors (Value *prop)
MCHAR *  command_name_from_code (int com)

Variables

ScripterExport HashTable *  globals

Define Documentation

#define MAX_TOKEN_SIZE   256

Definition at line 23 of file parser.h.

#define UNDEFINED_MACRO   -1

Definition at line 24 of file parser.h.

#define token_name (   tok )    token_names[(int)tok]

Definition at line 277 of file parser.h.


Typedef Documentation

typedef RolloutControl*(* create_fn)(Value *name, Value *caption, Value **keyparms, int keyparm_count)

Definition at line 57 of file parser.h.


Enumeration Type Documentation

enum lex_token
Enumerator:
t_local 
t_global 
t_fn 
t_mapped 
t_if 
t_then 
t_else 
t_do 
t_collect 
t_while 
t_case 
t_open_paren 
t_close_paren 
t_plus 
t_times 
t_minus 
t_div 
t_power 
t_end 
t_pluseq 
t_minuseq 
t_timeseq 
t_diveq 
t_and 
t_or 
t_not 
t_number 
t_string 
t_assign 
t_semicolon 
t_bad 
t_badNum 
t_eol 
t_comma 
t_open_bracket 
t_close_bracket 
t_colon 
t_quote 
t_doubleQuote 
t_ampersand 
t_name 
t_dot 
t_name_literal 
t_openCurly 
t_closeCurly 
t_hash 
t_eq 
t_ne 
t_lt 
t_gt 
t_ge 
t_le 
t_for 
t_in 
t_from 
t_to 
t_by 
t_of 
t_where 
t_as 
t_parameter_keyword 
t_path_name 
t_query 
t_slash 
t_ellipsis 
t_level_name 
t_wild_card_name 
t_dot_dot 
t_end_of_path 
t_with 
t_animate 
t_coordsys 
t_set 
t_undo 
t_about 
t_at 
t_on 
t_off 
t_private 
t_public 
t_max 
t_nullary_call 
t_utility 
t_rollout 
t_return 
t_exit 
t_when 
t_continue 
t_struct 
t_try 
t_catch 
t_throw 
t_eos 
t_plugin 
t_tool 
t_persistent 
t_parameters 
t_rcmenu 
t_macroScript 
t_dropScript 
t_attributes 
t_tilde 
t_resourceID 
t_missing 

Definition at line 30 of file parser.h.


Function Documentation

ScripterExport void install_rollout_control ( Value name,
create_fn  creator 
)
property_accessors* get_property_accessors ( Value prop )
MCHAR* command_name_from_code ( int  com )

Variable Documentation

ScripterExport HashTable* globals