Home
last modified time | relevance | path

Searched refs:table_constructor (Results 1 – 14 of 14) sorted by relevance

/dports/devel/stylua/StyLua-0.11.0/src/formatters/
H A Dtable.rs306 fn should_expand(table_constructor: &TableConstructor) -> bool { in should_expand()
307 let (start_brace, end_brace) = table_constructor.braces().tokens(); in should_expand()
314 || trivia_util::table_fields_contains_comments(table_constructor); in should_expand()
319 for field in table_constructor.fields() { in should_expand()
339 table_constructor: &TableConstructor, in format_table_constructor()
342 let (start_brace, end_brace) = table_constructor.braces().tokens(); in format_table_constructor()
345 let should_expand = should_expand(table_constructor); in format_table_constructor()
392 table_constructor.braces(), in format_table_constructor()
393 table_constructor.fields(), in format_table_constructor()
399 table_constructor.braces(), in format_table_constructor()
[all …]
H A Dfunctions.rs125 Value::TableConstructor(table_constructor) => { in format_function_args()
128 &FunctionArgs::TableConstructor(table_constructor.to_owned()), in format_function_args()
486 FunctionArgs::TableConstructor(table_constructor) => { in format_function_args()
490 let table_constructor = format_table_constructor(ctx, table_constructor, shape) in format_function_args() localVariable
495 return FunctionArgs::TableConstructor(table_constructor); in format_function_args()
502 value: Box::new(Value::TableConstructor(table_constructor.to_owned())), in format_function_args()
H A Dtrivia.rs299 FunctionArgs::TableConstructor(table_constructor) => {
300 FunctionArgs::TableConstructor(table_constructor.update_trivia(leading, trailing))
475 Value::TableConstructor(table_constructor) => {
476 Value::TableConstructor(table_constructor.update_leading_trivia(leading))
504 Value::TableConstructor(table_constructor) => {
505 Value::TableConstructor(table_constructor.update_trailing_trivia(trailing))
H A Dstmt.rs477 table_constructor: &TableConstructor, in format_table_constructor_block()
480 let fields = table_constructor in format_table_constructor_block()
509 table_constructor.to_owned().with_fields(fields) in format_table_constructor_block()
531 FunctionArgs::TableConstructor(table_constructor) => FunctionArgs::TableConstructor( in format_function_args_block()
532 format_table_constructor_block(ctx, table_constructor, shape), in format_function_args_block()
623 Value::TableConstructor(table_constructor) => Value::TableConstructor( in format_expression_block()
624 format_table_constructor_block(ctx, table_constructor, shape), in format_expression_block()
H A Dtrivia_util.rs95 FunctionArgs::TableConstructor(table_constructor) => { in function_args_trailing_trivia()
96 let (_, end_brace) = table_constructor.braces().tokens(); in function_args_trailing_trivia()
222 Value::TableConstructor(table_constructor) => { in get_value_trailing_trivia()
223 let (_, end_brace) = table_constructor.braces().tokens(); in get_value_trailing_trivia()
906 pub fn table_fields_contains_comments(table_constructor: &TableConstructor) -> bool { in table_fields_contains_comments()
907 table_constructor.fields().pairs().any(|field| { in table_fields_contains_comments()
H A Dexpression.rs307 Value::TableConstructor(table_constructor) => { in format_value()
308 Value::TableConstructor(format_table_constructor(ctx, table_constructor, shape)) in format_value()
/dports/games/supertux2/SuperTux-v0.6.3-Source/external/squirrel/doc/source/reference/language/
H A Dtables.rst21 Tables are created through the table constructor (see :ref:`Table constructor <table_constructor>`)
/dports/devel/pegtl/PEGTL-3.0.0/src/example/pegtl/
H A Dlua53.hpp215 …struct table_constructor : tao::pegtl::if_must< tao::pegtl::one< '{' >, tao::pegtl::pad_opt< table…
226 … struct function_args : tao::pegtl::sor< function_args_one, table_constructor, literal_string > {};
263 table_constructor > {};
/dports/textproc/py-atoml/atoml-1.1.0/atoml/
H A Ditems.py42 table_constructor = InlineTable if isinstance(_parent, Array) else Table
43 val = table_constructor(Container(), Trivia(), False)
54 table_constructor = Table
57 table_constructor = InlineTable
61 table = table_constructor(Container(), Trivia(), True)
/dports/www/node10/node-v10.24.1/deps/v8/src/wasm/
H A Dwasm-js.cc1216 Handle<JSFunction> table_constructor = in Install() local
1218 context->set_wasm_table_constructor(*table_constructor); in Install()
1219 JSFunction::EnsureHasInitialMap(table_constructor); in Install()
1221 JSObject::cast(table_constructor->instance_prototype())); in Install()
1224 JSFunction::SetInitialMap(table_constructor, table_map, table_proto); in Install()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/src/wasm/
H A Dwasm-js.cc2107 Handle<JSFunction> table_constructor = in Install() local
2109 context->set_wasm_table_constructor(*table_constructor); in Install()
2110 SetDummyInstanceTemplate(isolate, table_constructor); in Install()
2111 JSFunction::EnsureHasInitialMap(table_constructor); in Install()
2113 JSObject::cast(table_constructor->instance_prototype()), isolate); in Install()
2116 JSFunction::SetInitialMap(table_constructor, table_map, table_proto); in Install()
2122 InstallFunc(isolate, table_constructor, "type", WebAssemblyTableType, 1); in Install()
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/wasm/
H A Dwasm-js.cc2171 Handle<JSFunction> table_constructor = in Install() local
2173 context->set_wasm_table_constructor(*table_constructor); in Install()
2174 SetDummyInstanceTemplate(isolate, table_constructor); in Install()
2175 JSFunction::EnsureHasInitialMap(table_constructor); in Install()
2177 JSObject::cast(table_constructor->instance_prototype()), isolate); in Install()
2180 JSFunction::SetInitialMap(table_constructor, table_map, table_proto); in Install()
2186 InstallFunc(isolate, table_constructor, "type", WebAssemblyTableType, 1); in Install()
/dports/lang/v8/v8-9.6.180.12/src/wasm/
H A Dwasm-js.cc2671 Handle<JSFunction> table_constructor = in Install() local
2673 context->set_wasm_table_constructor(*table_constructor); in Install()
2674 SetDummyInstanceTemplate(isolate, table_constructor); in Install()
2675 JSFunction::EnsureHasInitialMap(table_constructor); in Install()
2677 JSObject::cast(table_constructor->instance_prototype()), isolate); in Install()
2680 JSFunction::SetInitialMap(isolate, table_constructor, table_map, table_proto); in Install()
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/src/ast/
H A Dparsers.rs451 } else if let Ok((state, table_constructor)) = keep_going!(ParseTableConstructor.parse(state)) {
452 Ok((state, FunctionArgs::TableConstructor(table_constructor)))