Julia builtins.
Unknown Field: copyright | |
Copyright 2006-2021 by the Pygments team, see AUTHORS. | |
Unknown Field: license | |
BSD, see LICENSE for details. |
Constant | BUILTIN_LIST |
#!/usr/bin/env julia |
Constant | DOTTED_OPERATORS_LIST |
#!/usr/bin/env julia |
Constant | KEYWORD_LIST |
#!/usr/bin/env julia |
Constant | LITERAL_LIST |
Undocumented |
Constant | OPERATORS_LIST |
Undocumented |
tuple[ str, ...]
=
#!/usr/bin/env julia
import REPL.REPLCompletions res = String["true", "false"] for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core),
REPLCompletions.completions("", 0)[1])
- try
v = eval(Symbol(compl.mod)) if !(v isa Function || v isa Type || v isa TypeVar || v isa Module || v isa Colon)
push!(res, compl.mod)end
catch e end
end sort!(unique!(res)) foreach(x -> println("'", x, "',"), res)
Value |
|
list[ str]
=
#!/usr/bin/env julia
import REPL.REPLCompletions res = String["in", "isa", "where"] for kw in collect(x.keyword for x in REPLCompletions.complete_keyword(""))
- if !(contains(kw, " ") || kw == "struct")
- push!(res, kw)
end
end sort!(unique!(setdiff!(res, ["true", "false"]))) foreach(x -> println("'", x, "',"), res)
Value |
|
tuple[ str, ...]
=
#!/usr/bin/env julia
import REPL.REPLCompletions res = String[] for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core),
REPLCompletions.completions("", 0)[1])
- try
v = eval(Symbol(compl.mod)) if (v isa Type || v isa TypeVar) && (compl.mod != "=>")
push!(res, compl.mod)end
catch e end
end sort!(unique!(res)) foreach(x -> println("'", x, "',"), res)
Value |
|