ctpl
Description:
CTPL is a template library written in C. It allows fast and easy parsing of templates from many sources (including in-memory data and local and remote streaming, thanks to GIO) and fine control over template parsing environment.
Content:
Namespaces:
- Ctpl
- Environ
- InputStream
- OutputStream
- Token
- TokenExpr
- TokenExprOperator
- TokenExprValue
- TokenFor
- TokenIf
- TokenValue
- Value
- EnvironError
- EvalError
- IOError
- LexerError
- LexerExprError
- Operator
- ParserError
- TokenExprType
- TokenType
- ValueType
- public const string BLANK_CHARS
- public const int EOF
- public const string EXPR_CHARS
- public const string OPERAND_CHARS
- public const string OPERATOR_CHARS
- public const string SYMBOL_CHARS
- public delegate bool EnvironForeachFunc (Environ env, string symbol, Value value)
- public bool eval_bool (TokenExpr expr, Environ env, bool _result) throws Error
- public Quark eval_error_quark ()
- public bool eval_value (TokenExpr expr, Environ env, Value value) throws Error
- public Quark io_error_quark ()
- public void lexer_dump_tree (Token root)
- public Quark lexer_error_quark ()
- public Quark lexer_expr_error_quark ()
- public unowned TokenExpr lexer_expr_lex (InputStream stream) throws Error
- public unowned TokenExpr lexer_expr_lex_full (InputStream stream, bool lex_all) throws Error
- public unowned TokenExpr lexer_expr_lex_string (string expr, ssize_t len) throws Error
- public void lexer_free_tree (Token root)
- public unowned Token lexer_lex (InputStream stream) throws Error
- public unowned Token lexer_lex_path (string path) throws Error
- public unowned Token lexer_lex_string (string template) throws Error
- public Operator operator_from_string (string str, ssize_t len, size_t operator_len)
- public unowned string operator_to_string (Operator op)
- public Quark parser_error_quark ()
- public bool parser_parse (Token tree, Environ env, OutputStream output) throws Error