SExp
Object Hierarchy:
Description:
[
CCode ( type_id =
"camel_sexp_get_type ()" ) ]
[
Version ( since =
"3.4" ) ]
public class SExp :
Object
Content:
Static methods:
Creation methods:
Methods:
- public void add_function (uint scope, string name, SExpFunc func)
Adds a function symbol which can not perform short evaluation.
- public void add_ifunction (uint scope, string name, SExpIFunc ifunc)
Adds a function symbol which can perform short evaluation, or doesn't
execute everything.
- public void add_variable (uint scope, string name, SExpTerm value)
Adds a variable named name to the given scope
, set to the given value.
- public unowned string? error ()
- public unowned SExpResult? eval ()
- public bool evaluate_occur_times (time_t start, time_t end)
- public void fatal_error (string why, ...)
Sets an error from the given format and stops execution.
- public void input_file (int fd)
Prepares to scan a file.
- public void input_text (string text, int len)
Prepares to scan a text buffer.
- public int parse ()
- public unowned SExpTerm? parse_value ()
- public void remove_symbol (uint scope, string name)
Revoes a symbol from a scope.
- public void result_free (SExpResult? result)
Frees the result and its internal data.
- public SExpResult? result_new (int type)
- public void resultv_free (SExpResult[] argv)
Frees an array of results.
- public int set_scope (uint scope)
sets the current scope for the scanner.
- public SExpResult? term_eval (SExpTerm term)
Evaluates a part of the expression.
Inherited Members:
All known members inherited from class GLib.Object