This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
Generated
+793
@@ -0,0 +1,793 @@
|
||||
{
|
||||
"decorators": [
|
||||
"align",
|
||||
"always_inline",
|
||||
"copy_capture",
|
||||
"deprecated",
|
||||
"doc_hidden",
|
||||
"export",
|
||||
"fieldwise_init",
|
||||
"implicit",
|
||||
"inline",
|
||||
"no_inline",
|
||||
"parameter",
|
||||
"staticmethod"
|
||||
],
|
||||
"effects": [
|
||||
"raises",
|
||||
"capturing",
|
||||
"abi",
|
||||
"thin",
|
||||
"where",
|
||||
"escaping"
|
||||
],
|
||||
"keywords": [
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "_"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "and"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "as"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "assert"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "break"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "case"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "class"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "comptime"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "continue"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "def"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "del"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "elif"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "else"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "except"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "Mojo extension.",
|
||||
"removed": true,
|
||||
"replacement": "def",
|
||||
"word": "fn"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "False"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "finally"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "for"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "from"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "global"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "if"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "import"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "in"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "is"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "lambda"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "match"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "None"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "nonlocal"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "not"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "or"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "pass"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "raise"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "Mojo extension.",
|
||||
"word": "ref"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "return"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "Mojo extension.",
|
||||
"word": "Self"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "Mojo extension.",
|
||||
"word": "struct"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "Mojo extension.",
|
||||
"word": "trait"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "True"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "try"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "Mojo extension.",
|
||||
"word": "var"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "while"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "with"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "yield"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "Mojo extension: unstable async support.",
|
||||
"word": "__async"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "Mojo extension: unstable async support.",
|
||||
"word": "__await"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "Mojo extension extension.",
|
||||
"word": "__extension"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "Mojo extension: generator type literal.",
|
||||
"word": "__generator_type"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "",
|
||||
"word": "__get_address_as_uninit_lvalue"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "",
|
||||
"word": "__get_mvalue_as_litref"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "",
|
||||
"word": "__get_litref_as_mvalue"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "",
|
||||
"word": "__get_address_as_owned_value"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "",
|
||||
"word": "__mlir_region"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "origin_of"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "type_of"
|
||||
},
|
||||
{
|
||||
"internal": false,
|
||||
"note": "",
|
||||
"word": "conforms_to"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "",
|
||||
"word": "__functions_in_module"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "",
|
||||
"word": "__get_current_function_name"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "",
|
||||
"word": "__struct_field_ref"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "",
|
||||
"word": "__is_run_in_comptime_interpreter"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "Deprecated spelling of match (TODO: remove in Mojo 1.2).",
|
||||
"word": "__match"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "Experimental enum declaration.",
|
||||
"word": "__enum"
|
||||
},
|
||||
{
|
||||
"internal": true,
|
||||
"note": "Crashes the compiler. Not shipped to users.",
|
||||
"word": "__mojo_crash"
|
||||
}
|
||||
],
|
||||
"literals": [
|
||||
{
|
||||
"example": "42, 0x42, 0o42, 0b101010",
|
||||
"name": "integer"
|
||||
},
|
||||
{
|
||||
"example": "1.0",
|
||||
"name": "float_num"
|
||||
},
|
||||
{
|
||||
"example": "\"Hello\"",
|
||||
"name": "string"
|
||||
},
|
||||
{
|
||||
"example": "t\"Hello {world}!\"",
|
||||
"name": "t_string"
|
||||
}
|
||||
],
|
||||
"prelude": [
|
||||
"Absable",
|
||||
"AddressSpace",
|
||||
"AnyOrigin",
|
||||
"AnyType",
|
||||
"Array",
|
||||
"BFloat16",
|
||||
"Bool",
|
||||
"Boolable",
|
||||
"Byte",
|
||||
"Codepoint",
|
||||
"Comparable",
|
||||
"Copyable",
|
||||
"DType",
|
||||
"Defaultable",
|
||||
"Deinitable",
|
||||
"Dict",
|
||||
"EnumLike",
|
||||
"Equatable",
|
||||
"Error",
|
||||
"FileHandle",
|
||||
"Float16",
|
||||
"Float32",
|
||||
"Float4_e2m1fn",
|
||||
"Float64",
|
||||
"Float8_e4m3fn",
|
||||
"Float8_e4m3fnuz",
|
||||
"Float8_e5m2",
|
||||
"Float8_e5m2fnuz",
|
||||
"Float8_e8m0fnu",
|
||||
"FloatLiteral",
|
||||
"Floatable",
|
||||
"FloatableRaising",
|
||||
"Hashable",
|
||||
"Identifiable",
|
||||
"ImmOpaquePointer",
|
||||
"ImmOrigin",
|
||||
"ImmPointer",
|
||||
"ImmSpan",
|
||||
"ImmStaticOrigin",
|
||||
"ImmStringSlice",
|
||||
"ImmStringSpan",
|
||||
"ImmUnsafeAnyOrigin",
|
||||
"ImmUntrackedOrigin",
|
||||
"ImmutAnyOrigin",
|
||||
"ImplicitlyCopyable",
|
||||
"Indexer",
|
||||
"InlineLevel",
|
||||
"Int",
|
||||
"Int128",
|
||||
"Int16",
|
||||
"Int256",
|
||||
"Int32",
|
||||
"Int64",
|
||||
"Int8",
|
||||
"IntLiteral",
|
||||
"Intable",
|
||||
"IntableRaising",
|
||||
"Iterable",
|
||||
"IterableOwned",
|
||||
"Iterator",
|
||||
"KeyElement",
|
||||
"List",
|
||||
"Movable",
|
||||
"MutAnyOrigin",
|
||||
"MutOpaquePointer",
|
||||
"MutOrigin",
|
||||
"MutPointer",
|
||||
"MutSpan",
|
||||
"MutUnsafeAnyOrigin",
|
||||
"MutUntrackedOrigin",
|
||||
"Never",
|
||||
"NoneType",
|
||||
"OpaquePointer",
|
||||
"Optional",
|
||||
"OptionalImmPointer",
|
||||
"OptionalMutPointer",
|
||||
"OptionalPointer",
|
||||
"Origin",
|
||||
"OriginSet",
|
||||
"ParameterList",
|
||||
"Pointer",
|
||||
"Powable",
|
||||
"RawFileDescriptor",
|
||||
"RegisterPassable",
|
||||
"ReversibleRange",
|
||||
"Roundable",
|
||||
"SIMD",
|
||||
"SIMDLength",
|
||||
"Scalar",
|
||||
"Sized",
|
||||
"SizedRaising",
|
||||
"Slice",
|
||||
"Some",
|
||||
"SomeTypeList",
|
||||
"Span",
|
||||
"StaticString",
|
||||
"StopIteration",
|
||||
"String",
|
||||
"StringLiteral",
|
||||
"StringSlice",
|
||||
"StringSpan",
|
||||
"TrivialRegisterPassable",
|
||||
"Tuple",
|
||||
"TypeList",
|
||||
"UInt",
|
||||
"UInt128",
|
||||
"UInt16",
|
||||
"UInt256",
|
||||
"UInt32",
|
||||
"UInt64",
|
||||
"UInt8",
|
||||
"UnsafeAnyOrigin",
|
||||
"UnsafePointer",
|
||||
"UntrackedOrigin",
|
||||
"VariadicList",
|
||||
"VariadicPack",
|
||||
"Writable",
|
||||
"Writer",
|
||||
"abs",
|
||||
"all",
|
||||
"alloc",
|
||||
"any",
|
||||
"ascii",
|
||||
"atof",
|
||||
"atol",
|
||||
"bin",
|
||||
"breakpoint",
|
||||
"chr",
|
||||
"debug_assert",
|
||||
"deinit",
|
||||
"divmod",
|
||||
"doc_hidden",
|
||||
"enumerate",
|
||||
"hash",
|
||||
"hash_bytes",
|
||||
"hex",
|
||||
"index",
|
||||
"input",
|
||||
"iter",
|
||||
"len",
|
||||
"map",
|
||||
"materialize",
|
||||
"max",
|
||||
"min",
|
||||
"next",
|
||||
"oct",
|
||||
"open",
|
||||
"ord",
|
||||
"partition",
|
||||
"pow",
|
||||
"print",
|
||||
"range",
|
||||
"rebind",
|
||||
"rebind_var",
|
||||
"reflect",
|
||||
"repr",
|
||||
"reversed",
|
||||
"round",
|
||||
"slice",
|
||||
"sort",
|
||||
"swap",
|
||||
"zip"
|
||||
],
|
||||
"provenance": {
|
||||
"decorators": {
|
||||
"commit": "527d069ee11a41ac5320af1f9402db0a66b2b868",
|
||||
"license": "Apache-2.0 WITH LLVM-exception (per file headers; confirm the docs carry the same licence)",
|
||||
"path": "docs/site/reference/decorators/*.mdx",
|
||||
"repo": "modular/modular",
|
||||
"source": "modular",
|
||||
"zipSha256": "a3cd3f55f30fce42d522ec4f67241c4aaeebe3c9a637b1433d6c0181b4904f75"
|
||||
},
|
||||
"prelude": {
|
||||
"commit": "527d069ee11a41ac5320af1f9402db0a66b2b868",
|
||||
"license": "Apache-2.0 WITH LLVM-exception (per file headers; confirm the docs carry the same licence)",
|
||||
"path": "stdlib/std/prelude/__init__.mojo",
|
||||
"repo": "modular/modular",
|
||||
"source": "modular",
|
||||
"zipSha256": "a3cd3f55f30fce42d522ec4f67241c4aaeebe3c9a637b1433d6c0181b4904f75"
|
||||
},
|
||||
"softKeywords": {
|
||||
"commit": "527d069ee11a41ac5320af1f9402db0a66b2b868",
|
||||
"license": "Apache-2.0 WITH LLVM-exception (per file headers; confirm the docs carry the same licence)",
|
||||
"path": "lib/MojoParser/*.cpp",
|
||||
"repo": "modular/modular",
|
||||
"source": "modular",
|
||||
"zipSha256": "a3cd3f55f30fce42d522ec4f67241c4aaeebe3c9a637b1433d6c0181b4904f75"
|
||||
},
|
||||
"tokenKinds": {
|
||||
"commit": "527d069ee11a41ac5320af1f9402db0a66b2b868",
|
||||
"license": "Apache-2.0 WITH LLVM-exception (per file headers; confirm the docs carry the same licence)",
|
||||
"path": "include/Mojo/MojoParser/TokenKinds.def",
|
||||
"repo": "modular/modular",
|
||||
"source": "modular",
|
||||
"zipSha256": "a3cd3f55f30fce42d522ec4f67241c4aaeebe3c9a637b1433d6c0181b4904f75"
|
||||
}
|
||||
},
|
||||
"punctuation": [
|
||||
{
|
||||
"name": "percent",
|
||||
"spelling": "%"
|
||||
},
|
||||
{
|
||||
"name": "amp",
|
||||
"spelling": "&"
|
||||
},
|
||||
{
|
||||
"name": "l_paren",
|
||||
"spelling": "("
|
||||
},
|
||||
{
|
||||
"name": "r_paren",
|
||||
"spelling": ")"
|
||||
},
|
||||
{
|
||||
"name": "star",
|
||||
"spelling": "*"
|
||||
},
|
||||
{
|
||||
"name": "plus",
|
||||
"spelling": "+"
|
||||
},
|
||||
{
|
||||
"name": "comma",
|
||||
"spelling": ","
|
||||
},
|
||||
{
|
||||
"name": "minus",
|
||||
"spelling": "-"
|
||||
},
|
||||
{
|
||||
"name": "dot",
|
||||
"spelling": "."
|
||||
},
|
||||
{
|
||||
"name": "slash",
|
||||
"spelling": "/"
|
||||
},
|
||||
{
|
||||
"name": "colon",
|
||||
"spelling": ":"
|
||||
},
|
||||
{
|
||||
"name": "semi",
|
||||
"spelling": ";"
|
||||
},
|
||||
{
|
||||
"name": "less",
|
||||
"spelling": "<"
|
||||
},
|
||||
{
|
||||
"name": "equal",
|
||||
"spelling": "="
|
||||
},
|
||||
{
|
||||
"name": "greater",
|
||||
"spelling": ">"
|
||||
},
|
||||
{
|
||||
"name": "at",
|
||||
"spelling": "@"
|
||||
},
|
||||
{
|
||||
"name": "l_square",
|
||||
"spelling": "["
|
||||
},
|
||||
{
|
||||
"name": "r_square",
|
||||
"spelling": "]"
|
||||
},
|
||||
{
|
||||
"name": "caret",
|
||||
"spelling": "^"
|
||||
},
|
||||
{
|
||||
"name": "l_brace",
|
||||
"spelling": "{"
|
||||
},
|
||||
{
|
||||
"name": "pipe",
|
||||
"spelling": "|"
|
||||
},
|
||||
{
|
||||
"name": "r_brace",
|
||||
"spelling": "}"
|
||||
},
|
||||
{
|
||||
"name": "tilde",
|
||||
"spelling": "~"
|
||||
},
|
||||
{
|
||||
"name": "underscore",
|
||||
"spelling": "_"
|
||||
},
|
||||
{
|
||||
"name": "exclaim_equal",
|
||||
"spelling": "!="
|
||||
},
|
||||
{
|
||||
"name": "percent_equal",
|
||||
"spelling": "%="
|
||||
},
|
||||
{
|
||||
"name": "amp_equal",
|
||||
"spelling": "&="
|
||||
},
|
||||
{
|
||||
"name": "star_star",
|
||||
"spelling": "**"
|
||||
},
|
||||
{
|
||||
"name": "star_equal",
|
||||
"spelling": "*="
|
||||
},
|
||||
{
|
||||
"name": "plus_equal",
|
||||
"spelling": "+="
|
||||
},
|
||||
{
|
||||
"name": "minus_equal",
|
||||
"spelling": "-="
|
||||
},
|
||||
{
|
||||
"name": "minus_greater",
|
||||
"spelling": "->"
|
||||
},
|
||||
{
|
||||
"name": "slash_slash",
|
||||
"spelling": "//"
|
||||
},
|
||||
{
|
||||
"name": "slash_equal",
|
||||
"spelling": "/="
|
||||
},
|
||||
{
|
||||
"name": "colon_equal",
|
||||
"spelling": ":="
|
||||
},
|
||||
{
|
||||
"name": "less_less",
|
||||
"spelling": "<<"
|
||||
},
|
||||
{
|
||||
"name": "less_equal",
|
||||
"spelling": "<="
|
||||
},
|
||||
{
|
||||
"name": "less_greater",
|
||||
"spelling": "<>"
|
||||
},
|
||||
{
|
||||
"name": "equal_equal",
|
||||
"spelling": "=="
|
||||
},
|
||||
{
|
||||
"name": "greater_equal",
|
||||
"spelling": ">="
|
||||
},
|
||||
{
|
||||
"name": "right_right",
|
||||
"spelling": ">>"
|
||||
},
|
||||
{
|
||||
"name": "at_equal",
|
||||
"spelling": "@="
|
||||
},
|
||||
{
|
||||
"name": "caret_equal",
|
||||
"spelling": "^="
|
||||
},
|
||||
{
|
||||
"name": "pipe_equal",
|
||||
"spelling": "|="
|
||||
},
|
||||
{
|
||||
"name": "star_star_equal",
|
||||
"spelling": "**="
|
||||
},
|
||||
{
|
||||
"name": "dot_dot_dot",
|
||||
"spelling": "..."
|
||||
},
|
||||
{
|
||||
"name": "slash_slash_equal",
|
||||
"spelling": "//="
|
||||
},
|
||||
{
|
||||
"name": "less_less_equal",
|
||||
"spelling": "<<="
|
||||
},
|
||||
{
|
||||
"name": "right_right_equal",
|
||||
"spelling": ">>="
|
||||
}
|
||||
],
|
||||
"softKeywords": [
|
||||
{
|
||||
"seenIn": [
|
||||
"Signatures.cpp"
|
||||
],
|
||||
"word": "deinit"
|
||||
},
|
||||
{
|
||||
"seenIn": [
|
||||
"Signatures.cpp"
|
||||
],
|
||||
"word": "imm"
|
||||
},
|
||||
{
|
||||
"seenIn": [
|
||||
"Signatures.cpp"
|
||||
],
|
||||
"word": "mut"
|
||||
},
|
||||
{
|
||||
"seenIn": [
|
||||
"Signatures.cpp"
|
||||
],
|
||||
"word": "out"
|
||||
},
|
||||
{
|
||||
"removed": true,
|
||||
"replacement": "imm",
|
||||
"seenIn": [
|
||||
"Signatures.cpp"
|
||||
],
|
||||
"word": "read"
|
||||
},
|
||||
{
|
||||
"seenIn": [
|
||||
"DeclResolution.cpp",
|
||||
"Signatures.cpp"
|
||||
],
|
||||
"word": "where"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user