Index of values


__ocaml_lex_double_quote_string_rec [Lexer]
__ocaml_lex_escape_char_rec [Lexer]
__ocaml_lex_main_rec [Lexer]
__ocaml_lex_multiline_comment_rec [Lexer]
__ocaml_lex_single_quote_string_rec [Lexer]
__ocaml_lex_tables [Lexer]

A
add_error [Environment]
Add an error to the analysis environemnt
add_import [Environment]
adds an import to the list of imports
add_template [Environment]
Adds a template to the environment
add_warning [Environment]
Add a warning to the analysis environemnt
analyze [Analysis]
Analyzes an AST, generates a runtime AST
analyze_variables [Analysis]
find declarations and resolve references to variables.
array_of_value_list [Expression]
Creates an Array from a list of values

C
cast_to_float [Expression]
cast a value to a float
cast_to_integer [Expression]
cast a value to an integer
check_errors [Analysis]
Prints all errors in an analysis environment and raises FatalExit if there are errors
check_template_nesting [Analysis]
Checks for invalid nesting in a template specification
check_warnings [Analysis]
Generates additional warnings about unused variables, then prints all warnings
compare [Expression]
Implements comparaison of two values, according to the following semantics:

D
declare_variable [Environment]
declare a variable if it does not exist or create a new entry and return new index
declare_variable_and_value [Environment]
declare a variable if it does not exist or create a new entry and return new index, then sets constant value
display_error [RuntimeError]
Displays an error to stdout
double_quote_string [Lexer]

E
escape_char [Lexer]
evaluate [Interpreter]
Evaluates an expression
evaluate_expr_list [Interpreter]
Evaluates a list of expressions
evaluate_memb_expr_index [Interpreter]
Determines the value and type of expression for the last member of a member expression
evaluate_op [Expression]
Evaluate the operation
extract_stmt_list [Parser]

F
filter_imported_ast [Analysis]
Filters an ast, returning only a list of declaration and import statement

G
generate_template_instr_function [Analysis]
Generate a set of statements corresponding to a template instruction
get_constant_value [Environment]
gets the constant value for a variable
get_depth [Environment]
Returns the depth of the current stack frame
get_env [Parser]
get_loc_name [Environment]
Returns the name of a location
get_member_expr_map [Interpreter]
Returns the hashmap that corresponds to the member expression
get_this [Library_string]
Returns the value of this as a string
get_value [Environment]
Retrieves a value at a location

H
has_errors [Environment]
Returns true if there are errors in the environment
has_import [Environment]
checks if a file has already been imported
hashtbl_equal [Expression]

I
incr_linenum [Lexer]
indexOf [Library_string]
Returns the positing of a substring within a string
initialize [Library_string]
Entry point for library initialization
initialize [Library_io]
Entry point for library initialization
initialize [Library_builtin]
Entry point for library initialization
inline_expr_replace [Analysis]
replaces an expression from an inlined function with the corresponding values from a function call expression list
interpret [Interpreter]
Interpret a runtime AST
interpret_stmts [Interpreter]
Interprets a list of statements
is_constant [Environment]
returns whether the variable is a constant
is_vararg [Ast]
determines if a variable is a varag

L
list_of_array [Expression]
Converts a MapValue array to a list of values

M
main [Lexer]
make_stackframe [Expression]
Makes a stack frame from the supplied value list
map_id [Lexer]
mismatched_compare [Expression]
multiline_comment [Lexer]

N
new_analysis_environment [Environment]
returns a newly initialized analysis environment
new_analysis_scope [Environment]
Setups a new scope within the same global or local scope
new_analysis_stackframe [Environment]
Create a new stackframe

O
opname [Expression]

P
parse [Parser_util]
Parse a channel
parse_error [Parser]
parse_filename [Parser_util]
Parse a filename
pass2 [Analysis]
Looks for expressions where constants can be substituted
pop_scope [Environment]
Pops the analysis scope
print_ast [Ast_info]
Pretty prints the representation of the runtime AST
print_name_info [Analysis]
Prints information about names found during analysis
program [Parser]

R
record_usage [Environment]
Records a variables property
register_for_analysis [Library]
Registers all library functions and params in an analysis environment
register_for_runtime [Library]
Registers library functions into a runtime environment
replace_constant [Analysis]
Replace non modified variables with their declared value
resolve_filename [Filename_util]
converts a relative filename and path into an absolute filename
resolve_func_this [Interpreter]
Resolves a function call by an expression into a function and a this object
resolve_import [Parser]
resolve_variable [Environment]
Find variable in analysis scope
resolve_variable_value [Environment]
Find variable and value in analysis scope
run_function [Interpreter]
Runs a function

S
set_constant_value [Environment]
sets the declaration value for a variable
set_value [Environment]
Sets a value at a location
single_quote_string [Lexer]
statement_description [Ast_info]
Returns a pretty printed representation of the runtime AST
string_of_error [RuntimeError]
Returns an error message for an exception
string_of_value [Expression]
Converts a value to a string
string_of_value_type [Expression]
returns a string name for a value's type
syntax_exception [Lexer]

U
uid_from_loc [Environment]
returns uid from location

V
value_type [Expression]
Returns a value's type
vararg_formalname [Ast]
retuns the name for a vararg

Y
yyact [Parser]
yycheck [Parser]
yydefred [Parser]
yydgoto [Parser]
yygindex [Parser]
yylen [Parser]
yylhs [Parser]
yynames_block [Parser]
yynames_const [Parser]
yyrindex [Parser]
yysindex [Parser]
yytable [Parser]
yytables [Parser]
yytablesize [Parser]
yytransl_block [Parser]
yytransl_const [Parser]