git config --global user.name userName git config --global user.email userEmail 分支1 标签0 wenfeiread file translatee8af16e2年前 8 次提交 提交 cn read file translate 2年前 en add cn file create 2年前 README.md add copy/path cmd translation ...
string_replace: Replaces substring in the given string. string_split: Split string into a list of strings. template: Define a template rule. tool: Specify arguments to a toolchain tool. toolchain: Defines a toolchain. write_file: Write a file to disk. Built-in predefined variables current_...
crate_name: [string] The name for the compiled crate. crate_root: [string] The root source file for a binary or library. crate_type: [string] The type of linkage to use on a shared_library. data: [file list] Runtime data file dependencies. data_deps: [label list] Non-linked depend...
config_name = string_replace(config_path_name, "-", "_") if (openssl_no_asm) { asm_name = "no-asm" } else { # TODO(zcbenz): Check gas_version and nasm_version. asm_name = "asm_avx2" } if (is_win && target_cpu == "arm64") { asm_name = "no-asm" } config_path = ...
label = string_replace(test_source, "/", "_") application_snapshot(label) { dart_snapshot_kind = "kernel" main_dart = test_source training_args = [] # Not used output = "$target_gen_dir/$test_source.dill" } test_deps += [ ":$label" ] test_resources += [ { path = rebase...
String literals字符串字面量 A string literal represents a string value consisting of the quoted characters with possible escape sequences and variable expansions. string = `"` { char | escape | expansion } `"` . escape = `\` ( "$" | `"` | char ) . ...
mylist=[0,1,2,"some string"] 列表支持连接操作,可以使用’+’ 和 '+='操作符。空值不能连接列表,为增加一个列表成员,列表长度至少为1。 列表还支持删除操作,可以使用’-’ 和 '-='操作符。删除操作会从左边的列表中删除右边的列表中的所有成员。删除不存在的成员时会报错,这会避免笔误,也能检测尝试删...
string_replace: Replaces substring in the given string. string_split: Split string into a list of strings. template: Define a template rule. tool: Specify arguments to a toolchain tool. toolchain: Defines a toolchain. write_file: Write a file to disk. Built-in predefined variables current_...
While regular expression is a powerful approach to string parsing, it has limitations. It cannot elegantly deal with name-strings where an authorship element is present in the middle of the name (for example Carex scirpoidea Michx. subsp. convoluta (Kük.) D.A.Dunlop). Indeed, regular expres...
executable("hello") { ... configs -= [ "//build:no_exceptions" ] # Remove global default. configs += [ "//build:exceptions" ] # Replace with a different one. } 1. Our print command from above could also be expressed using string interpolation. This is a way to convert values to...