Class for lexer configuration. More...
#include <inja.hpp>
Public Member Functions | |
| void | update_open_chars () |
Public Attributes | |
| std::string | statement_open {"{%"} |
| std::string | statement_open_no_lstrip {"{%+"} |
| std::string | statement_open_force_lstrip {"{%-"} |
| std::string | statement_close {"%}"} |
| std::string | statement_close_force_rstrip {"-%}"} |
| std::string | line_statement {"##"} |
| std::string | expression_open {"{{"} |
| std::string | expression_open_force_lstrip {"{{-"} |
| std::string | expression_close {"}}"} |
| std::string | expression_close_force_rstrip {"-}}"} |
| std::string | comment_open {"{#"} |
| std::string | comment_open_force_lstrip {"{#-"} |
| std::string | comment_close {"#}"} |
| std::string | comment_close_force_rstrip {"-#}"} |
| std::string | open_chars {"#{"} |
| bool | trim_blocks {false} |
| bool | lstrip_blocks {false} |
|
inline |
Definition at line 936 of file inja.hpp.
References comment_open, comment_open_force_lstrip, expression_open, expression_open_force_lstrip, line_statement, open_chars, statement_open, statement_open_force_lstrip, and statement_open_no_lstrip.
Referenced by inja::Environment::set_comment(), inja::Environment::set_expression(), inja::Environment::set_line_statement(), and inja::Environment::set_statement().
| std::string inja::LexerConfig::comment_close {"#}"} |
Definition at line 929 of file inja.hpp.
Referenced by inja::Lexer::scan(), and inja::Environment::set_comment().
| std::string inja::LexerConfig::comment_close_force_rstrip {"-#}"} |
Definition at line 930 of file inja.hpp.
Referenced by inja::Lexer::scan(), and inja::Environment::set_comment().
| std::string inja::LexerConfig::comment_open {"{#"} |
Definition at line 927 of file inja.hpp.
Referenced by inja::Lexer::scan(), inja::Environment::set_comment(), and update_open_chars().
| std::string inja::LexerConfig::comment_open_force_lstrip {"{#-"} |
Definition at line 928 of file inja.hpp.
Referenced by inja::Lexer::scan(), inja::Environment::set_comment(), and update_open_chars().
| std::string inja::LexerConfig::expression_close {"}}"} |
Definition at line 925 of file inja.hpp.
Referenced by inja::Lexer::scan(), and inja::Environment::set_expression().
| std::string inja::LexerConfig::expression_close_force_rstrip {"-}}"} |
Definition at line 926 of file inja.hpp.
Referenced by inja::Lexer::scan(), and inja::Environment::set_expression().
| std::string inja::LexerConfig::expression_open {"{{"} |
Definition at line 923 of file inja.hpp.
Referenced by inja::Lexer::scan(), inja::Environment::set_expression(), and update_open_chars().
| std::string inja::LexerConfig::expression_open_force_lstrip {"{{-"} |
Definition at line 924 of file inja.hpp.
Referenced by inja::Lexer::scan(), inja::Environment::set_expression(), and update_open_chars().
| std::string inja::LexerConfig::line_statement {"##"} |
Definition at line 922 of file inja.hpp.
Referenced by inja::Lexer::scan(), inja::Environment::set_line_statement(), and update_open_chars().
| bool inja::LexerConfig::lstrip_blocks {false} |
Definition at line 934 of file inja.hpp.
Referenced by inja::Lexer::scan(), and inja::Environment::set_lstrip_blocks().
| std::string inja::LexerConfig::open_chars {"#{"} |
Definition at line 931 of file inja.hpp.
Referenced by inja::Lexer::scan(), and update_open_chars().
| std::string inja::LexerConfig::statement_close {"%}"} |
Definition at line 920 of file inja.hpp.
Referenced by inja::Lexer::scan(), and inja::Environment::set_statement().
| std::string inja::LexerConfig::statement_close_force_rstrip {"-%}"} |
Definition at line 921 of file inja.hpp.
Referenced by inja::Lexer::scan(), and inja::Environment::set_statement().
| std::string inja::LexerConfig::statement_open {"{%"} |
Definition at line 917 of file inja.hpp.
Referenced by inja::Lexer::scan(), inja::Environment::set_statement(), and update_open_chars().
| std::string inja::LexerConfig::statement_open_force_lstrip {"{%-"} |
Definition at line 919 of file inja.hpp.
Referenced by inja::Lexer::scan(), inja::Environment::set_statement(), and update_open_chars().
| std::string inja::LexerConfig::statement_open_no_lstrip {"{%+"} |
Definition at line 918 of file inja.hpp.
Referenced by inja::Lexer::scan(), inja::Environment::set_statement(), and update_open_chars().
| bool inja::LexerConfig::trim_blocks {false} |
Definition at line 933 of file inja.hpp.
Referenced by inja::Lexer::scan(), and inja::Environment::set_trim_blocks().