|
Blender V4.3
|
#include <cstring>#include "BLI_blenlib.h"#include "DNA_space_types.h"#include "DNA_text_types.h"#include "BKE_text.h"#include "text_format.hh"Go to the source code of this file.
Functions | |
Format Line Implementation (#TextFormatType::format_line) | |
| static void | txtfmt_py_format_line (SpaceText *st, TextLine *line, const bool do_next) |
Registration | |
| void | ED_text_format_register_py () |
Local Literal Definitions | |
| static const char * | text_format_py_literals_builtinfunc_data [] |
| static const char * | text_format_py_literals_specialvar_data [] |
| static const char * | text_format_py_literals_bool_data [] |
| static const Span< const char * > | text_format_py_literals_builtinfunc (text_format_py_literals_builtinfunc_data, ARRAY_SIZE(text_format_py_literals_builtinfunc_data)) |
| static const Span< const char * > | text_format_py_literals_specialvar (text_format_py_literals_specialvar_data, ARRAY_SIZE(text_format_py_literals_specialvar_data)) |
| static const Span< const char * > | text_format_py_literals_bool (text_format_py_literals_bool_data, ARRAY_SIZE(text_format_py_literals_bool_data)) |
| #define TXTFMT_PY_NUMERAL_STRING_COUNT_IMPL | ( | txtfmt_py_numeral_char_is_fn | ) |
Definition at line 175 of file text_format_py.cc.
Referenced by txtfmt_py_numeral_string_count_binary(), txtfmt_py_numeral_string_count_decimal(), txtfmt_py_numeral_string_count_hexadecimal(), txtfmt_py_numeral_string_count_octal(), and txtfmt_py_numeral_string_count_zeros().
| void ED_text_format_register_py | ( | ) |
Definition at line 562 of file text_format_py.cc.
References BLI_assert, TextFormatType::comment_line, ED_text_format_register(), TextFormatType::ext, TextFormatType::format_identifier, TextFormatType::format_line, text_format_py_literals_bool(), text_format_py_literals_builtinfunc(), text_format_py_literals_specialvar(), text_format_string_literals_check_sorted_array(), txtfmt_py_format_identifier(), and txtfmt_py_format_line().
Referenced by ED_spacetype_text().
|
static |
Referenced by ED_text_format_register_py(), and txtfmt_py_find_bool().
|
static |
Referenced by ED_text_format_register_py(), and txtfmt_py_find_builtinfunc().
|
static |
Referenced by ED_text_format_register_py(), and txtfmt_py_find_specialvar().
|
static |
Definition at line 163 of file text_format_py.cc.
References text_check_identifier(), text_format_py_literals_bool(), and text_format_string_literal_find().
Referenced by txtfmt_py_format_line().
|
static |
Definition at line 121 of file text_format_py.cc.
References text_check_identifier(), text_format_py_literals_builtinfunc(), and text_format_string_literal_find().
Referenced by txtfmt_py_format_identifier(), and txtfmt_py_format_line().
|
static |
Definition at line 143 of file text_format_py.cc.
References text_check_identifier(), and text_check_whitespace().
Referenced by txtfmt_py_format_identifier(), and txtfmt_py_format_line().
|
static |
Definition at line 237 of file text_format_py.cc.
References ELEM, text_check_digit(), txtfmt_py_numeral_string_count_binary(), txtfmt_py_numeral_string_count_decimal(), txtfmt_py_numeral_string_count_hexadecimal(), txtfmt_py_numeral_string_count_octal(), and txtfmt_py_numeral_string_count_zeros().
Referenced by txtfmt_py_literal_numeral().
|
static |
Definition at line 132 of file text_format_py.cc.
References text_check_identifier(), text_format_py_literals_specialvar(), and text_format_string_literal_find().
Referenced by txtfmt_py_format_identifier(), and txtfmt_py_format_line().
|
static |
Definition at line 313 of file text_format_py.cc.
References FMT_TYPE_DEFAULT, FMT_TYPE_KEYWORD, FMT_TYPE_RESERVED, FMT_TYPE_SPECIAL, str, txtfmt_py_find_builtinfunc(), txtfmt_py_find_decorator(), and txtfmt_py_find_specialvar().
Referenced by ED_text_format_register_py().
Definition at line 336 of file text_format_py.cc.
References BLI_assert, BLI_str_utf8_size_safe(), FlattenString::buf, ELEM, flatten_string(), flatten_string_free(), FMT_CONT_ALL, FMT_CONT_NOP, FMT_CONT_QUOTEDOUBLE, FMT_CONT_QUOTESINGLE, FMT_CONT_TRIPLE, FMT_TYPE_COMMENT, FMT_TYPE_DEFAULT, FMT_TYPE_DIRECTIVE, FMT_TYPE_KEYWORD, FMT_TYPE_NUMERAL, FMT_TYPE_SPECIAL, FMT_TYPE_STRING, FMT_TYPE_SYMBOL, FMT_TYPE_WHITESPACE, len, SpaceText::next, str, text_check_delim(), text_check_format_len(), text_format_fill(), text_format_fill_ascii(), txtfmt_py_find_bool(), txtfmt_py_find_builtinfunc(), txtfmt_py_find_decorator(), txtfmt_py_find_specialvar(), txtfmt_py_format_line(), and txtfmt_py_literal_numeral().
Referenced by ED_text_format_register_py(), and txtfmt_py_format_line().
|
static |
Definition at line 279 of file text_format_py.cc.
References ELEM, FMT_TYPE_DEFAULT, FMT_TYPE_NUMERAL, text_check_digit(), and txtfmt_py_find_numeral_inner().
Referenced by txtfmt_py_format_line().
|
static |
Definition at line 186 of file text_format_py.cc.
References ELEM.
Referenced by txtfmt_py_numeral_string_count_binary().
|
static |
Definition at line 206 of file text_format_py.cc.
Referenced by txtfmt_py_numeral_string_count_decimal().
|
static |
Definition at line 216 of file text_format_py.cc.
Referenced by txtfmt_py_numeral_string_count_hexadecimal().
|
static |
Definition at line 196 of file text_format_py.cc.
Referenced by txtfmt_py_numeral_string_count_octal().
|
static |
Definition at line 226 of file text_format_py.cc.
References ELEM.
Referenced by txtfmt_py_numeral_string_count_zeros().
|
static |
Definition at line 190 of file text_format_py.cc.
References txtfmt_py_numeral_char_is_binary(), and TXTFMT_PY_NUMERAL_STRING_COUNT_IMPL.
Referenced by txtfmt_py_find_numeral_inner().
|
static |
Definition at line 210 of file text_format_py.cc.
References txtfmt_py_numeral_char_is_decimal(), and TXTFMT_PY_NUMERAL_STRING_COUNT_IMPL.
Referenced by txtfmt_py_find_numeral_inner().
|
static |
Definition at line 220 of file text_format_py.cc.
References txtfmt_py_numeral_char_is_hexadecimal(), and TXTFMT_PY_NUMERAL_STRING_COUNT_IMPL.
Referenced by txtfmt_py_find_numeral_inner().
|
static |
Definition at line 200 of file text_format_py.cc.
References txtfmt_py_numeral_char_is_octal(), and TXTFMT_PY_NUMERAL_STRING_COUNT_IMPL.
Referenced by txtfmt_py_find_numeral_inner().
|
static |
Definition at line 230 of file text_format_py.cc.
References txtfmt_py_numeral_char_is_zero(), and TXTFMT_PY_NUMERAL_STRING_COUNT_IMPL.
Referenced by txtfmt_py_find_numeral_inner().
|
static |
Python bool values.
Definition at line 104 of file text_format_py.cc.
|
static |
The following items are derived from this list:
The code below can be re-generated using:
Python built-in function name. See: http://docs.python.org/py3k/reference/lexical_analysis.html#keywords
Definition at line 51 of file text_format_py.cc.
|
static |
Python special name.
Definition at line 93 of file text_format_py.cc.