@parcel/codeframe 2.0.0-dev.1429 → 2.0.0-dev.1430
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/codeframe.js +475 -841
- package/lib/codeframe.js.map +1 -1
- package/package.json +2 -2
package/lib/codeframe.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var $
|
|
1
|
+
var $cecYx$chalk = require("chalk");
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
function $parcel$interopDefault(a) {
|
|
@@ -2860,56 +2860,430 @@ module.exports = $af94cd74eed7763d$var$bash;
|
|
|
2860
2860
|
|
|
2861
2861
|
});
|
|
2862
2862
|
|
|
2863
|
-
parcelRegister("
|
|
2863
|
+
parcelRegister("cLsqx", function(module, exports) {
|
|
2864
2864
|
/*
|
|
2865
|
-
Language:
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2865
|
+
Language: Julia
|
|
2866
|
+
Description: Julia is a high-level, high-performance, dynamic programming language.
|
|
2867
|
+
Author: Kenta Sato <bicycle1885@gmail.com>
|
|
2868
|
+
Contributors: Alex Arslan <ararslan@comcast.net>, Fredrik Ekre <ekrefredrik@gmail.com>
|
|
2869
|
+
Website: https://julialang.org
|
|
2870
|
+
*/ function $94afecd538db2fad$var$julia(hljs) {
|
|
2871
|
+
// Since there are numerous special names in Julia, it is too much trouble
|
|
2872
|
+
// to maintain them by hand. Hence these names (i.e. keywords, literals and
|
|
2873
|
+
// built-ins) are automatically generated from Julia 1.5.2 itself through
|
|
2874
|
+
// the following scripts for each.
|
|
2875
|
+
// ref: https://docs.julialang.org/en/v1/manual/variables/#Allowed-Variable-Names
|
|
2876
|
+
var VARIABLE_NAME_RE = "[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*";
|
|
2877
|
+
// # keyword generator, multi-word keywords handled manually below (Julia 1.5.2)
|
|
2878
|
+
// import REPL.REPLCompletions
|
|
2879
|
+
// res = String["in", "isa", "where"]
|
|
2880
|
+
// for kw in collect(x.keyword for x in REPLCompletions.complete_keyword(""))
|
|
2881
|
+
// if !(contains(kw, " ") || kw == "struct")
|
|
2882
|
+
// push!(res, kw)
|
|
2883
|
+
// end
|
|
2884
|
+
// end
|
|
2885
|
+
// sort!(unique!(res))
|
|
2886
|
+
// foreach(x -> println("\'", x, "\',"), res)
|
|
2887
|
+
var KEYWORD_LIST = [
|
|
2888
|
+
"baremodule",
|
|
2889
|
+
"begin",
|
|
2890
|
+
"break",
|
|
2891
|
+
"catch",
|
|
2892
|
+
"ccall",
|
|
2893
|
+
"const",
|
|
2894
|
+
"continue",
|
|
2895
|
+
"do",
|
|
2896
|
+
"else",
|
|
2897
|
+
"elseif",
|
|
2898
|
+
"end",
|
|
2899
|
+
"export",
|
|
2900
|
+
"false",
|
|
2901
|
+
"finally",
|
|
2902
|
+
"for",
|
|
2903
|
+
"function",
|
|
2904
|
+
"global",
|
|
2905
|
+
"if",
|
|
2906
|
+
"import",
|
|
2907
|
+
"in",
|
|
2908
|
+
"isa",
|
|
2909
|
+
"let",
|
|
2910
|
+
"local",
|
|
2911
|
+
"macro",
|
|
2912
|
+
"module",
|
|
2913
|
+
"quote",
|
|
2914
|
+
"return",
|
|
2915
|
+
"true",
|
|
2916
|
+
"try",
|
|
2917
|
+
"using",
|
|
2918
|
+
"where",
|
|
2919
|
+
"while"
|
|
2920
|
+
];
|
|
2921
|
+
// # literal generator (Julia 1.5.2)
|
|
2922
|
+
// import REPL.REPLCompletions
|
|
2923
|
+
// res = String["true", "false"]
|
|
2924
|
+
// for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core),
|
|
2925
|
+
// REPLCompletions.completions("", 0)[1])
|
|
2926
|
+
// try
|
|
2927
|
+
// v = eval(Symbol(compl.mod))
|
|
2928
|
+
// if !(v isa Function || v isa Type || v isa TypeVar || v isa Module || v isa Colon)
|
|
2929
|
+
// push!(res, compl.mod)
|
|
2930
|
+
// end
|
|
2931
|
+
// catch e
|
|
2932
|
+
// end
|
|
2933
|
+
// end
|
|
2934
|
+
// sort!(unique!(res))
|
|
2935
|
+
// foreach(x -> println("\'", x, "\',"), res)
|
|
2936
|
+
var LITERAL_LIST = [
|
|
2937
|
+
"ARGS",
|
|
2938
|
+
"C_NULL",
|
|
2939
|
+
"DEPOT_PATH",
|
|
2940
|
+
"ENDIAN_BOM",
|
|
2941
|
+
"ENV",
|
|
2942
|
+
"Inf",
|
|
2943
|
+
"Inf16",
|
|
2944
|
+
"Inf32",
|
|
2945
|
+
"Inf64",
|
|
2946
|
+
"InsertionSort",
|
|
2947
|
+
"LOAD_PATH",
|
|
2948
|
+
"MergeSort",
|
|
2949
|
+
"NaN",
|
|
2950
|
+
"NaN16",
|
|
2951
|
+
"NaN32",
|
|
2952
|
+
"NaN64",
|
|
2953
|
+
"PROGRAM_FILE",
|
|
2954
|
+
"QuickSort",
|
|
2955
|
+
"RoundDown",
|
|
2956
|
+
"RoundFromZero",
|
|
2957
|
+
"RoundNearest",
|
|
2958
|
+
"RoundNearestTiesAway",
|
|
2959
|
+
"RoundNearestTiesUp",
|
|
2960
|
+
"RoundToZero",
|
|
2961
|
+
"RoundUp",
|
|
2962
|
+
"VERSION|0",
|
|
2963
|
+
"devnull",
|
|
2964
|
+
"false",
|
|
2965
|
+
"im",
|
|
2966
|
+
"missing",
|
|
2967
|
+
"nothing",
|
|
2968
|
+
"pi",
|
|
2969
|
+
"stderr",
|
|
2970
|
+
"stdin",
|
|
2971
|
+
"stdout",
|
|
2972
|
+
"true",
|
|
2973
|
+
"undef",
|
|
2974
|
+
"\u03C0",
|
|
2975
|
+
"\u212F"
|
|
2976
|
+
];
|
|
2977
|
+
// # built_in generator (Julia 1.5.2)
|
|
2978
|
+
// import REPL.REPLCompletions
|
|
2979
|
+
// res = String[]
|
|
2980
|
+
// for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core),
|
|
2981
|
+
// REPLCompletions.completions("", 0)[1])
|
|
2982
|
+
// try
|
|
2983
|
+
// v = eval(Symbol(compl.mod))
|
|
2984
|
+
// if (v isa Type || v isa TypeVar) && (compl.mod != "=>")
|
|
2985
|
+
// push!(res, compl.mod)
|
|
2986
|
+
// end
|
|
2987
|
+
// catch e
|
|
2988
|
+
// end
|
|
2989
|
+
// end
|
|
2990
|
+
// sort!(unique!(res))
|
|
2991
|
+
// foreach(x -> println("\'", x, "\',"), res)
|
|
2992
|
+
var BUILT_IN_LIST = [
|
|
2993
|
+
"AbstractArray",
|
|
2994
|
+
"AbstractChannel",
|
|
2995
|
+
"AbstractChar",
|
|
2996
|
+
"AbstractDict",
|
|
2997
|
+
"AbstractDisplay",
|
|
2998
|
+
"AbstractFloat",
|
|
2999
|
+
"AbstractIrrational",
|
|
3000
|
+
"AbstractMatrix",
|
|
3001
|
+
"AbstractRange",
|
|
3002
|
+
"AbstractSet",
|
|
3003
|
+
"AbstractString",
|
|
3004
|
+
"AbstractUnitRange",
|
|
3005
|
+
"AbstractVecOrMat",
|
|
3006
|
+
"AbstractVector",
|
|
3007
|
+
"Any",
|
|
3008
|
+
"ArgumentError",
|
|
3009
|
+
"Array",
|
|
3010
|
+
"AssertionError",
|
|
3011
|
+
"BigFloat",
|
|
3012
|
+
"BigInt",
|
|
3013
|
+
"BitArray",
|
|
3014
|
+
"BitMatrix",
|
|
3015
|
+
"BitSet",
|
|
3016
|
+
"BitVector",
|
|
3017
|
+
"Bool",
|
|
3018
|
+
"BoundsError",
|
|
3019
|
+
"CapturedException",
|
|
3020
|
+
"CartesianIndex",
|
|
3021
|
+
"CartesianIndices",
|
|
3022
|
+
"Cchar",
|
|
3023
|
+
"Cdouble",
|
|
3024
|
+
"Cfloat",
|
|
3025
|
+
"Channel",
|
|
3026
|
+
"Char",
|
|
3027
|
+
"Cint",
|
|
3028
|
+
"Cintmax_t",
|
|
3029
|
+
"Clong",
|
|
3030
|
+
"Clonglong",
|
|
3031
|
+
"Cmd",
|
|
3032
|
+
"Colon",
|
|
3033
|
+
"Complex",
|
|
3034
|
+
"ComplexF16",
|
|
3035
|
+
"ComplexF32",
|
|
3036
|
+
"ComplexF64",
|
|
3037
|
+
"CompositeException",
|
|
3038
|
+
"Condition",
|
|
3039
|
+
"Cptrdiff_t",
|
|
3040
|
+
"Cshort",
|
|
3041
|
+
"Csize_t",
|
|
3042
|
+
"Cssize_t",
|
|
3043
|
+
"Cstring",
|
|
3044
|
+
"Cuchar",
|
|
3045
|
+
"Cuint",
|
|
3046
|
+
"Cuintmax_t",
|
|
3047
|
+
"Culong",
|
|
3048
|
+
"Culonglong",
|
|
3049
|
+
"Cushort",
|
|
3050
|
+
"Cvoid",
|
|
3051
|
+
"Cwchar_t",
|
|
3052
|
+
"Cwstring",
|
|
3053
|
+
"DataType",
|
|
3054
|
+
"DenseArray",
|
|
3055
|
+
"DenseMatrix",
|
|
3056
|
+
"DenseVecOrMat",
|
|
3057
|
+
"DenseVector",
|
|
3058
|
+
"Dict",
|
|
3059
|
+
"DimensionMismatch",
|
|
3060
|
+
"Dims",
|
|
3061
|
+
"DivideError",
|
|
3062
|
+
"DomainError",
|
|
3063
|
+
"EOFError",
|
|
3064
|
+
"Enum",
|
|
3065
|
+
"ErrorException",
|
|
3066
|
+
"Exception",
|
|
3067
|
+
"ExponentialBackOff",
|
|
3068
|
+
"Expr",
|
|
3069
|
+
"Float16",
|
|
3070
|
+
"Float32",
|
|
3071
|
+
"Float64",
|
|
3072
|
+
"Function",
|
|
3073
|
+
"GlobalRef",
|
|
3074
|
+
"HTML",
|
|
3075
|
+
"IO",
|
|
3076
|
+
"IOBuffer",
|
|
3077
|
+
"IOContext",
|
|
3078
|
+
"IOStream",
|
|
3079
|
+
"IdDict",
|
|
3080
|
+
"IndexCartesian",
|
|
3081
|
+
"IndexLinear",
|
|
3082
|
+
"IndexStyle",
|
|
3083
|
+
"InexactError",
|
|
3084
|
+
"InitError",
|
|
3085
|
+
"Int",
|
|
3086
|
+
"Int128",
|
|
3087
|
+
"Int16",
|
|
3088
|
+
"Int32",
|
|
3089
|
+
"Int64",
|
|
3090
|
+
"Int8",
|
|
3091
|
+
"Integer",
|
|
3092
|
+
"InterruptException",
|
|
3093
|
+
"InvalidStateException",
|
|
3094
|
+
"Irrational",
|
|
3095
|
+
"KeyError",
|
|
3096
|
+
"LinRange",
|
|
3097
|
+
"LineNumberNode",
|
|
3098
|
+
"LinearIndices",
|
|
3099
|
+
"LoadError",
|
|
3100
|
+
"MIME",
|
|
3101
|
+
"Matrix",
|
|
3102
|
+
"Method",
|
|
3103
|
+
"MethodError",
|
|
3104
|
+
"Missing",
|
|
3105
|
+
"MissingException",
|
|
3106
|
+
"Module",
|
|
3107
|
+
"NTuple",
|
|
3108
|
+
"NamedTuple",
|
|
3109
|
+
"Nothing",
|
|
3110
|
+
"Number",
|
|
3111
|
+
"OrdinalRange",
|
|
3112
|
+
"OutOfMemoryError",
|
|
3113
|
+
"OverflowError",
|
|
3114
|
+
"Pair",
|
|
3115
|
+
"PartialQuickSort",
|
|
3116
|
+
"PermutedDimsArray",
|
|
3117
|
+
"Pipe",
|
|
3118
|
+
"ProcessFailedException",
|
|
3119
|
+
"Ptr",
|
|
3120
|
+
"QuoteNode",
|
|
3121
|
+
"Rational",
|
|
3122
|
+
"RawFD",
|
|
3123
|
+
"ReadOnlyMemoryError",
|
|
3124
|
+
"Real",
|
|
3125
|
+
"ReentrantLock",
|
|
3126
|
+
"Ref",
|
|
3127
|
+
"Regex",
|
|
3128
|
+
"RegexMatch",
|
|
3129
|
+
"RoundingMode",
|
|
3130
|
+
"SegmentationFault",
|
|
3131
|
+
"Set",
|
|
3132
|
+
"Signed",
|
|
3133
|
+
"Some",
|
|
3134
|
+
"StackOverflowError",
|
|
3135
|
+
"StepRange",
|
|
3136
|
+
"StepRangeLen",
|
|
3137
|
+
"StridedArray",
|
|
3138
|
+
"StridedMatrix",
|
|
3139
|
+
"StridedVecOrMat",
|
|
3140
|
+
"StridedVector",
|
|
3141
|
+
"String",
|
|
3142
|
+
"StringIndexError",
|
|
3143
|
+
"SubArray",
|
|
3144
|
+
"SubString",
|
|
3145
|
+
"SubstitutionString",
|
|
3146
|
+
"Symbol",
|
|
3147
|
+
"SystemError",
|
|
3148
|
+
"Task",
|
|
3149
|
+
"TaskFailedException",
|
|
3150
|
+
"Text",
|
|
3151
|
+
"TextDisplay",
|
|
3152
|
+
"Timer",
|
|
3153
|
+
"Tuple",
|
|
3154
|
+
"Type",
|
|
3155
|
+
"TypeError",
|
|
3156
|
+
"TypeVar",
|
|
3157
|
+
"UInt",
|
|
3158
|
+
"UInt128",
|
|
3159
|
+
"UInt16",
|
|
3160
|
+
"UInt32",
|
|
3161
|
+
"UInt64",
|
|
3162
|
+
"UInt8",
|
|
3163
|
+
"UndefInitializer",
|
|
3164
|
+
"UndefKeywordError",
|
|
3165
|
+
"UndefRefError",
|
|
3166
|
+
"UndefVarError",
|
|
3167
|
+
"Union",
|
|
3168
|
+
"UnionAll",
|
|
3169
|
+
"UnitRange",
|
|
3170
|
+
"Unsigned",
|
|
3171
|
+
"Val",
|
|
3172
|
+
"Vararg",
|
|
3173
|
+
"VecElement",
|
|
3174
|
+
"VecOrMat",
|
|
3175
|
+
"Vector",
|
|
3176
|
+
"VersionNumber",
|
|
3177
|
+
"WeakKeyDict",
|
|
3178
|
+
"WeakRef"
|
|
3179
|
+
];
|
|
3180
|
+
var KEYWORDS = {
|
|
3181
|
+
$pattern: VARIABLE_NAME_RE,
|
|
3182
|
+
keyword: KEYWORD_LIST.join(" "),
|
|
3183
|
+
literal: LITERAL_LIST.join(" "),
|
|
3184
|
+
built_in: BUILT_IN_LIST.join(" ")
|
|
3185
|
+
};
|
|
3186
|
+
// placeholder for recursive self-reference
|
|
3187
|
+
var DEFAULT = {
|
|
3188
|
+
keywords: KEYWORDS,
|
|
3189
|
+
illegal: /<\//
|
|
3190
|
+
};
|
|
3191
|
+
// ref: https://docs.julialang.org/en/v1/manual/integers-and-floating-point-numbers/
|
|
3192
|
+
var NUMBER = {
|
|
3193
|
+
className: "number",
|
|
3194
|
+
// supported numeric literals:
|
|
3195
|
+
// * binary literal (e.g. 0x10)
|
|
3196
|
+
// * octal literal (e.g. 0o76543210)
|
|
3197
|
+
// * hexadecimal literal (e.g. 0xfedcba876543210)
|
|
3198
|
+
// * hexadecimal floating point literal (e.g. 0x1p0, 0x1.2p2)
|
|
3199
|
+
// * decimal literal (e.g. 9876543210, 100_000_000)
|
|
3200
|
+
// * floating pointe literal (e.g. 1.2, 1.2f, .2, 1., 1.2e10, 1.2e-10)
|
|
3201
|
+
begin: /(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,
|
|
3202
|
+
relevance: 0
|
|
3203
|
+
};
|
|
3204
|
+
var CHAR = {
|
|
3205
|
+
className: "string",
|
|
3206
|
+
begin: /'(.|\\[xXuU][a-zA-Z0-9]+)'/
|
|
3207
|
+
};
|
|
3208
|
+
var INTERPOLATION = {
|
|
3209
|
+
className: "subst",
|
|
3210
|
+
begin: /\$\(/,
|
|
3211
|
+
end: /\)/,
|
|
3212
|
+
keywords: KEYWORDS
|
|
3213
|
+
};
|
|
3214
|
+
var INTERPOLATED_VARIABLE = {
|
|
3215
|
+
className: "variable",
|
|
3216
|
+
begin: "\\$" + VARIABLE_NAME_RE
|
|
3217
|
+
};
|
|
3218
|
+
// TODO: neatly escape normal code in string literal
|
|
3219
|
+
var STRING = {
|
|
3220
|
+
className: "string",
|
|
2879
3221
|
contains: [
|
|
2880
|
-
hljs.
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
relevance: 0
|
|
2886
|
-
}),
|
|
3222
|
+
hljs.BACKSLASH_ESCAPE,
|
|
3223
|
+
INTERPOLATION,
|
|
3224
|
+
INTERPOLATED_VARIABLE
|
|
3225
|
+
],
|
|
3226
|
+
variants: [
|
|
2887
3227
|
{
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
begin: "^[0-9]+ ",
|
|
3228
|
+
begin: /\w*"""/,
|
|
3229
|
+
end: /"""\w*/,
|
|
2891
3230
|
relevance: 10
|
|
2892
3231
|
},
|
|
2893
3232
|
{
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
3233
|
+
begin: /\w*"/,
|
|
3234
|
+
end: /"\w*/
|
|
3235
|
+
}
|
|
3236
|
+
]
|
|
3237
|
+
};
|
|
3238
|
+
var COMMAND = {
|
|
3239
|
+
className: "string",
|
|
3240
|
+
contains: [
|
|
3241
|
+
hljs.BACKSLASH_ESCAPE,
|
|
3242
|
+
INTERPOLATION,
|
|
3243
|
+
INTERPOLATED_VARIABLE
|
|
3244
|
+
],
|
|
3245
|
+
begin: "`",
|
|
3246
|
+
end: "`"
|
|
3247
|
+
};
|
|
3248
|
+
var MACROCALL = {
|
|
3249
|
+
className: "meta",
|
|
3250
|
+
begin: "@" + VARIABLE_NAME_RE
|
|
3251
|
+
};
|
|
3252
|
+
var COMMENT = {
|
|
3253
|
+
className: "comment",
|
|
3254
|
+
variants: [
|
|
2899
3255
|
{
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
3256
|
+
begin: "#=",
|
|
3257
|
+
end: "=#",
|
|
3258
|
+
relevance: 10
|
|
2903
3259
|
},
|
|
2904
3260
|
{
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
begin: "(&[oO][0-7]{1,6})"
|
|
3261
|
+
begin: "#",
|
|
3262
|
+
end: "$"
|
|
2908
3263
|
}
|
|
2909
3264
|
]
|
|
2910
3265
|
};
|
|
3266
|
+
DEFAULT.name = "Julia";
|
|
3267
|
+
DEFAULT.contains = [
|
|
3268
|
+
NUMBER,
|
|
3269
|
+
CHAR,
|
|
3270
|
+
STRING,
|
|
3271
|
+
COMMAND,
|
|
3272
|
+
MACROCALL,
|
|
3273
|
+
COMMENT,
|
|
3274
|
+
hljs.HASH_COMMENT_MODE,
|
|
3275
|
+
{
|
|
3276
|
+
className: "keyword",
|
|
3277
|
+
begin: "\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"
|
|
3278
|
+
},
|
|
3279
|
+
{
|
|
3280
|
+
begin: /<:/
|
|
3281
|
+
} // relevance booster
|
|
3282
|
+
];
|
|
3283
|
+
INTERPOLATION.contains = DEFAULT.contains;
|
|
3284
|
+
return DEFAULT;
|
|
2911
3285
|
}
|
|
2912
|
-
module.exports = $
|
|
3286
|
+
module.exports = $94afecd538db2fad$var$julia;
|
|
2913
3287
|
|
|
2914
3288
|
});
|
|
2915
3289
|
|
|
@@ -11902,433 +12276,6 @@ module.exports = $2210928d4eb08ac7$var$json;
|
|
|
11902
12276
|
|
|
11903
12277
|
});
|
|
11904
12278
|
|
|
11905
|
-
parcelRegister("cLsqx", function(module, exports) {
|
|
11906
|
-
/*
|
|
11907
|
-
Language: Julia
|
|
11908
|
-
Description: Julia is a high-level, high-performance, dynamic programming language.
|
|
11909
|
-
Author: Kenta Sato <bicycle1885@gmail.com>
|
|
11910
|
-
Contributors: Alex Arslan <ararslan@comcast.net>, Fredrik Ekre <ekrefredrik@gmail.com>
|
|
11911
|
-
Website: https://julialang.org
|
|
11912
|
-
*/ function $94afecd538db2fad$var$julia(hljs) {
|
|
11913
|
-
// Since there are numerous special names in Julia, it is too much trouble
|
|
11914
|
-
// to maintain them by hand. Hence these names (i.e. keywords, literals and
|
|
11915
|
-
// built-ins) are automatically generated from Julia 1.5.2 itself through
|
|
11916
|
-
// the following scripts for each.
|
|
11917
|
-
// ref: https://docs.julialang.org/en/v1/manual/variables/#Allowed-Variable-Names
|
|
11918
|
-
var VARIABLE_NAME_RE = "[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*";
|
|
11919
|
-
// # keyword generator, multi-word keywords handled manually below (Julia 1.5.2)
|
|
11920
|
-
// import REPL.REPLCompletions
|
|
11921
|
-
// res = String["in", "isa", "where"]
|
|
11922
|
-
// for kw in collect(x.keyword for x in REPLCompletions.complete_keyword(""))
|
|
11923
|
-
// if !(contains(kw, " ") || kw == "struct")
|
|
11924
|
-
// push!(res, kw)
|
|
11925
|
-
// end
|
|
11926
|
-
// end
|
|
11927
|
-
// sort!(unique!(res))
|
|
11928
|
-
// foreach(x -> println("\'", x, "\',"), res)
|
|
11929
|
-
var KEYWORD_LIST = [
|
|
11930
|
-
"baremodule",
|
|
11931
|
-
"begin",
|
|
11932
|
-
"break",
|
|
11933
|
-
"catch",
|
|
11934
|
-
"ccall",
|
|
11935
|
-
"const",
|
|
11936
|
-
"continue",
|
|
11937
|
-
"do",
|
|
11938
|
-
"else",
|
|
11939
|
-
"elseif",
|
|
11940
|
-
"end",
|
|
11941
|
-
"export",
|
|
11942
|
-
"false",
|
|
11943
|
-
"finally",
|
|
11944
|
-
"for",
|
|
11945
|
-
"function",
|
|
11946
|
-
"global",
|
|
11947
|
-
"if",
|
|
11948
|
-
"import",
|
|
11949
|
-
"in",
|
|
11950
|
-
"isa",
|
|
11951
|
-
"let",
|
|
11952
|
-
"local",
|
|
11953
|
-
"macro",
|
|
11954
|
-
"module",
|
|
11955
|
-
"quote",
|
|
11956
|
-
"return",
|
|
11957
|
-
"true",
|
|
11958
|
-
"try",
|
|
11959
|
-
"using",
|
|
11960
|
-
"where",
|
|
11961
|
-
"while"
|
|
11962
|
-
];
|
|
11963
|
-
// # literal generator (Julia 1.5.2)
|
|
11964
|
-
// import REPL.REPLCompletions
|
|
11965
|
-
// res = String["true", "false"]
|
|
11966
|
-
// for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core),
|
|
11967
|
-
// REPLCompletions.completions("", 0)[1])
|
|
11968
|
-
// try
|
|
11969
|
-
// v = eval(Symbol(compl.mod))
|
|
11970
|
-
// if !(v isa Function || v isa Type || v isa TypeVar || v isa Module || v isa Colon)
|
|
11971
|
-
// push!(res, compl.mod)
|
|
11972
|
-
// end
|
|
11973
|
-
// catch e
|
|
11974
|
-
// end
|
|
11975
|
-
// end
|
|
11976
|
-
// sort!(unique!(res))
|
|
11977
|
-
// foreach(x -> println("\'", x, "\',"), res)
|
|
11978
|
-
var LITERAL_LIST = [
|
|
11979
|
-
"ARGS",
|
|
11980
|
-
"C_NULL",
|
|
11981
|
-
"DEPOT_PATH",
|
|
11982
|
-
"ENDIAN_BOM",
|
|
11983
|
-
"ENV",
|
|
11984
|
-
"Inf",
|
|
11985
|
-
"Inf16",
|
|
11986
|
-
"Inf32",
|
|
11987
|
-
"Inf64",
|
|
11988
|
-
"InsertionSort",
|
|
11989
|
-
"LOAD_PATH",
|
|
11990
|
-
"MergeSort",
|
|
11991
|
-
"NaN",
|
|
11992
|
-
"NaN16",
|
|
11993
|
-
"NaN32",
|
|
11994
|
-
"NaN64",
|
|
11995
|
-
"PROGRAM_FILE",
|
|
11996
|
-
"QuickSort",
|
|
11997
|
-
"RoundDown",
|
|
11998
|
-
"RoundFromZero",
|
|
11999
|
-
"RoundNearest",
|
|
12000
|
-
"RoundNearestTiesAway",
|
|
12001
|
-
"RoundNearestTiesUp",
|
|
12002
|
-
"RoundToZero",
|
|
12003
|
-
"RoundUp",
|
|
12004
|
-
"VERSION|0",
|
|
12005
|
-
"devnull",
|
|
12006
|
-
"false",
|
|
12007
|
-
"im",
|
|
12008
|
-
"missing",
|
|
12009
|
-
"nothing",
|
|
12010
|
-
"pi",
|
|
12011
|
-
"stderr",
|
|
12012
|
-
"stdin",
|
|
12013
|
-
"stdout",
|
|
12014
|
-
"true",
|
|
12015
|
-
"undef",
|
|
12016
|
-
"\u03C0",
|
|
12017
|
-
"\u212F"
|
|
12018
|
-
];
|
|
12019
|
-
// # built_in generator (Julia 1.5.2)
|
|
12020
|
-
// import REPL.REPLCompletions
|
|
12021
|
-
// res = String[]
|
|
12022
|
-
// for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core),
|
|
12023
|
-
// REPLCompletions.completions("", 0)[1])
|
|
12024
|
-
// try
|
|
12025
|
-
// v = eval(Symbol(compl.mod))
|
|
12026
|
-
// if (v isa Type || v isa TypeVar) && (compl.mod != "=>")
|
|
12027
|
-
// push!(res, compl.mod)
|
|
12028
|
-
// end
|
|
12029
|
-
// catch e
|
|
12030
|
-
// end
|
|
12031
|
-
// end
|
|
12032
|
-
// sort!(unique!(res))
|
|
12033
|
-
// foreach(x -> println("\'", x, "\',"), res)
|
|
12034
|
-
var BUILT_IN_LIST = [
|
|
12035
|
-
"AbstractArray",
|
|
12036
|
-
"AbstractChannel",
|
|
12037
|
-
"AbstractChar",
|
|
12038
|
-
"AbstractDict",
|
|
12039
|
-
"AbstractDisplay",
|
|
12040
|
-
"AbstractFloat",
|
|
12041
|
-
"AbstractIrrational",
|
|
12042
|
-
"AbstractMatrix",
|
|
12043
|
-
"AbstractRange",
|
|
12044
|
-
"AbstractSet",
|
|
12045
|
-
"AbstractString",
|
|
12046
|
-
"AbstractUnitRange",
|
|
12047
|
-
"AbstractVecOrMat",
|
|
12048
|
-
"AbstractVector",
|
|
12049
|
-
"Any",
|
|
12050
|
-
"ArgumentError",
|
|
12051
|
-
"Array",
|
|
12052
|
-
"AssertionError",
|
|
12053
|
-
"BigFloat",
|
|
12054
|
-
"BigInt",
|
|
12055
|
-
"BitArray",
|
|
12056
|
-
"BitMatrix",
|
|
12057
|
-
"BitSet",
|
|
12058
|
-
"BitVector",
|
|
12059
|
-
"Bool",
|
|
12060
|
-
"BoundsError",
|
|
12061
|
-
"CapturedException",
|
|
12062
|
-
"CartesianIndex",
|
|
12063
|
-
"CartesianIndices",
|
|
12064
|
-
"Cchar",
|
|
12065
|
-
"Cdouble",
|
|
12066
|
-
"Cfloat",
|
|
12067
|
-
"Channel",
|
|
12068
|
-
"Char",
|
|
12069
|
-
"Cint",
|
|
12070
|
-
"Cintmax_t",
|
|
12071
|
-
"Clong",
|
|
12072
|
-
"Clonglong",
|
|
12073
|
-
"Cmd",
|
|
12074
|
-
"Colon",
|
|
12075
|
-
"Complex",
|
|
12076
|
-
"ComplexF16",
|
|
12077
|
-
"ComplexF32",
|
|
12078
|
-
"ComplexF64",
|
|
12079
|
-
"CompositeException",
|
|
12080
|
-
"Condition",
|
|
12081
|
-
"Cptrdiff_t",
|
|
12082
|
-
"Cshort",
|
|
12083
|
-
"Csize_t",
|
|
12084
|
-
"Cssize_t",
|
|
12085
|
-
"Cstring",
|
|
12086
|
-
"Cuchar",
|
|
12087
|
-
"Cuint",
|
|
12088
|
-
"Cuintmax_t",
|
|
12089
|
-
"Culong",
|
|
12090
|
-
"Culonglong",
|
|
12091
|
-
"Cushort",
|
|
12092
|
-
"Cvoid",
|
|
12093
|
-
"Cwchar_t",
|
|
12094
|
-
"Cwstring",
|
|
12095
|
-
"DataType",
|
|
12096
|
-
"DenseArray",
|
|
12097
|
-
"DenseMatrix",
|
|
12098
|
-
"DenseVecOrMat",
|
|
12099
|
-
"DenseVector",
|
|
12100
|
-
"Dict",
|
|
12101
|
-
"DimensionMismatch",
|
|
12102
|
-
"Dims",
|
|
12103
|
-
"DivideError",
|
|
12104
|
-
"DomainError",
|
|
12105
|
-
"EOFError",
|
|
12106
|
-
"Enum",
|
|
12107
|
-
"ErrorException",
|
|
12108
|
-
"Exception",
|
|
12109
|
-
"ExponentialBackOff",
|
|
12110
|
-
"Expr",
|
|
12111
|
-
"Float16",
|
|
12112
|
-
"Float32",
|
|
12113
|
-
"Float64",
|
|
12114
|
-
"Function",
|
|
12115
|
-
"GlobalRef",
|
|
12116
|
-
"HTML",
|
|
12117
|
-
"IO",
|
|
12118
|
-
"IOBuffer",
|
|
12119
|
-
"IOContext",
|
|
12120
|
-
"IOStream",
|
|
12121
|
-
"IdDict",
|
|
12122
|
-
"IndexCartesian",
|
|
12123
|
-
"IndexLinear",
|
|
12124
|
-
"IndexStyle",
|
|
12125
|
-
"InexactError",
|
|
12126
|
-
"InitError",
|
|
12127
|
-
"Int",
|
|
12128
|
-
"Int128",
|
|
12129
|
-
"Int16",
|
|
12130
|
-
"Int32",
|
|
12131
|
-
"Int64",
|
|
12132
|
-
"Int8",
|
|
12133
|
-
"Integer",
|
|
12134
|
-
"InterruptException",
|
|
12135
|
-
"InvalidStateException",
|
|
12136
|
-
"Irrational",
|
|
12137
|
-
"KeyError",
|
|
12138
|
-
"LinRange",
|
|
12139
|
-
"LineNumberNode",
|
|
12140
|
-
"LinearIndices",
|
|
12141
|
-
"LoadError",
|
|
12142
|
-
"MIME",
|
|
12143
|
-
"Matrix",
|
|
12144
|
-
"Method",
|
|
12145
|
-
"MethodError",
|
|
12146
|
-
"Missing",
|
|
12147
|
-
"MissingException",
|
|
12148
|
-
"Module",
|
|
12149
|
-
"NTuple",
|
|
12150
|
-
"NamedTuple",
|
|
12151
|
-
"Nothing",
|
|
12152
|
-
"Number",
|
|
12153
|
-
"OrdinalRange",
|
|
12154
|
-
"OutOfMemoryError",
|
|
12155
|
-
"OverflowError",
|
|
12156
|
-
"Pair",
|
|
12157
|
-
"PartialQuickSort",
|
|
12158
|
-
"PermutedDimsArray",
|
|
12159
|
-
"Pipe",
|
|
12160
|
-
"ProcessFailedException",
|
|
12161
|
-
"Ptr",
|
|
12162
|
-
"QuoteNode",
|
|
12163
|
-
"Rational",
|
|
12164
|
-
"RawFD",
|
|
12165
|
-
"ReadOnlyMemoryError",
|
|
12166
|
-
"Real",
|
|
12167
|
-
"ReentrantLock",
|
|
12168
|
-
"Ref",
|
|
12169
|
-
"Regex",
|
|
12170
|
-
"RegexMatch",
|
|
12171
|
-
"RoundingMode",
|
|
12172
|
-
"SegmentationFault",
|
|
12173
|
-
"Set",
|
|
12174
|
-
"Signed",
|
|
12175
|
-
"Some",
|
|
12176
|
-
"StackOverflowError",
|
|
12177
|
-
"StepRange",
|
|
12178
|
-
"StepRangeLen",
|
|
12179
|
-
"StridedArray",
|
|
12180
|
-
"StridedMatrix",
|
|
12181
|
-
"StridedVecOrMat",
|
|
12182
|
-
"StridedVector",
|
|
12183
|
-
"String",
|
|
12184
|
-
"StringIndexError",
|
|
12185
|
-
"SubArray",
|
|
12186
|
-
"SubString",
|
|
12187
|
-
"SubstitutionString",
|
|
12188
|
-
"Symbol",
|
|
12189
|
-
"SystemError",
|
|
12190
|
-
"Task",
|
|
12191
|
-
"TaskFailedException",
|
|
12192
|
-
"Text",
|
|
12193
|
-
"TextDisplay",
|
|
12194
|
-
"Timer",
|
|
12195
|
-
"Tuple",
|
|
12196
|
-
"Type",
|
|
12197
|
-
"TypeError",
|
|
12198
|
-
"TypeVar",
|
|
12199
|
-
"UInt",
|
|
12200
|
-
"UInt128",
|
|
12201
|
-
"UInt16",
|
|
12202
|
-
"UInt32",
|
|
12203
|
-
"UInt64",
|
|
12204
|
-
"UInt8",
|
|
12205
|
-
"UndefInitializer",
|
|
12206
|
-
"UndefKeywordError",
|
|
12207
|
-
"UndefRefError",
|
|
12208
|
-
"UndefVarError",
|
|
12209
|
-
"Union",
|
|
12210
|
-
"UnionAll",
|
|
12211
|
-
"UnitRange",
|
|
12212
|
-
"Unsigned",
|
|
12213
|
-
"Val",
|
|
12214
|
-
"Vararg",
|
|
12215
|
-
"VecElement",
|
|
12216
|
-
"VecOrMat",
|
|
12217
|
-
"Vector",
|
|
12218
|
-
"VersionNumber",
|
|
12219
|
-
"WeakKeyDict",
|
|
12220
|
-
"WeakRef"
|
|
12221
|
-
];
|
|
12222
|
-
var KEYWORDS = {
|
|
12223
|
-
$pattern: VARIABLE_NAME_RE,
|
|
12224
|
-
keyword: KEYWORD_LIST.join(" "),
|
|
12225
|
-
literal: LITERAL_LIST.join(" "),
|
|
12226
|
-
built_in: BUILT_IN_LIST.join(" ")
|
|
12227
|
-
};
|
|
12228
|
-
// placeholder for recursive self-reference
|
|
12229
|
-
var DEFAULT = {
|
|
12230
|
-
keywords: KEYWORDS,
|
|
12231
|
-
illegal: /<\//
|
|
12232
|
-
};
|
|
12233
|
-
// ref: https://docs.julialang.org/en/v1/manual/integers-and-floating-point-numbers/
|
|
12234
|
-
var NUMBER = {
|
|
12235
|
-
className: "number",
|
|
12236
|
-
// supported numeric literals:
|
|
12237
|
-
// * binary literal (e.g. 0x10)
|
|
12238
|
-
// * octal literal (e.g. 0o76543210)
|
|
12239
|
-
// * hexadecimal literal (e.g. 0xfedcba876543210)
|
|
12240
|
-
// * hexadecimal floating point literal (e.g. 0x1p0, 0x1.2p2)
|
|
12241
|
-
// * decimal literal (e.g. 9876543210, 100_000_000)
|
|
12242
|
-
// * floating pointe literal (e.g. 1.2, 1.2f, .2, 1., 1.2e10, 1.2e-10)
|
|
12243
|
-
begin: /(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,
|
|
12244
|
-
relevance: 0
|
|
12245
|
-
};
|
|
12246
|
-
var CHAR = {
|
|
12247
|
-
className: "string",
|
|
12248
|
-
begin: /'(.|\\[xXuU][a-zA-Z0-9]+)'/
|
|
12249
|
-
};
|
|
12250
|
-
var INTERPOLATION = {
|
|
12251
|
-
className: "subst",
|
|
12252
|
-
begin: /\$\(/,
|
|
12253
|
-
end: /\)/,
|
|
12254
|
-
keywords: KEYWORDS
|
|
12255
|
-
};
|
|
12256
|
-
var INTERPOLATED_VARIABLE = {
|
|
12257
|
-
className: "variable",
|
|
12258
|
-
begin: "\\$" + VARIABLE_NAME_RE
|
|
12259
|
-
};
|
|
12260
|
-
// TODO: neatly escape normal code in string literal
|
|
12261
|
-
var STRING = {
|
|
12262
|
-
className: "string",
|
|
12263
|
-
contains: [
|
|
12264
|
-
hljs.BACKSLASH_ESCAPE,
|
|
12265
|
-
INTERPOLATION,
|
|
12266
|
-
INTERPOLATED_VARIABLE
|
|
12267
|
-
],
|
|
12268
|
-
variants: [
|
|
12269
|
-
{
|
|
12270
|
-
begin: /\w*"""/,
|
|
12271
|
-
end: /"""\w*/,
|
|
12272
|
-
relevance: 10
|
|
12273
|
-
},
|
|
12274
|
-
{
|
|
12275
|
-
begin: /\w*"/,
|
|
12276
|
-
end: /"\w*/
|
|
12277
|
-
}
|
|
12278
|
-
]
|
|
12279
|
-
};
|
|
12280
|
-
var COMMAND = {
|
|
12281
|
-
className: "string",
|
|
12282
|
-
contains: [
|
|
12283
|
-
hljs.BACKSLASH_ESCAPE,
|
|
12284
|
-
INTERPOLATION,
|
|
12285
|
-
INTERPOLATED_VARIABLE
|
|
12286
|
-
],
|
|
12287
|
-
begin: "`",
|
|
12288
|
-
end: "`"
|
|
12289
|
-
};
|
|
12290
|
-
var MACROCALL = {
|
|
12291
|
-
className: "meta",
|
|
12292
|
-
begin: "@" + VARIABLE_NAME_RE
|
|
12293
|
-
};
|
|
12294
|
-
var COMMENT = {
|
|
12295
|
-
className: "comment",
|
|
12296
|
-
variants: [
|
|
12297
|
-
{
|
|
12298
|
-
begin: "#=",
|
|
12299
|
-
end: "=#",
|
|
12300
|
-
relevance: 10
|
|
12301
|
-
},
|
|
12302
|
-
{
|
|
12303
|
-
begin: "#",
|
|
12304
|
-
end: "$"
|
|
12305
|
-
}
|
|
12306
|
-
]
|
|
12307
|
-
};
|
|
12308
|
-
DEFAULT.name = "Julia";
|
|
12309
|
-
DEFAULT.contains = [
|
|
12310
|
-
NUMBER,
|
|
12311
|
-
CHAR,
|
|
12312
|
-
STRING,
|
|
12313
|
-
COMMAND,
|
|
12314
|
-
MACROCALL,
|
|
12315
|
-
COMMENT,
|
|
12316
|
-
hljs.HASH_COMMENT_MODE,
|
|
12317
|
-
{
|
|
12318
|
-
className: "keyword",
|
|
12319
|
-
begin: "\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"
|
|
12320
|
-
},
|
|
12321
|
-
{
|
|
12322
|
-
begin: /<:/
|
|
12323
|
-
} // relevance booster
|
|
12324
|
-
];
|
|
12325
|
-
INTERPOLATION.contains = DEFAULT.contains;
|
|
12326
|
-
return DEFAULT;
|
|
12327
|
-
}
|
|
12328
|
-
module.exports = $94afecd538db2fad$var$julia;
|
|
12329
|
-
|
|
12330
|
-
});
|
|
12331
|
-
|
|
12332
12279
|
parcelRegister("dut0F", function(module, exports) {
|
|
12333
12280
|
/*
|
|
12334
12281
|
Language: Julia REPL
|
|
@@ -12673,176 +12620,6 @@ module.exports = $99c6c365e621081e$var$kotlin;
|
|
|
12673
12620
|
|
|
12674
12621
|
});
|
|
12675
12622
|
|
|
12676
|
-
parcelRegister("gQ9UJ", function(module, exports) {
|
|
12677
|
-
/*
|
|
12678
|
-
Language: Lasso
|
|
12679
|
-
Author: Eric Knibbe <eric@lassosoft.com>
|
|
12680
|
-
Description: Lasso is a language and server platform for database-driven web applications. This definition handles Lasso 9 syntax and LassoScript for Lasso 8.6 and earlier.
|
|
12681
|
-
Website: http://www.lassosoft.com/What-Is-Lasso
|
|
12682
|
-
*/ function $c4293165dc24b1d7$var$lasso(hljs) {
|
|
12683
|
-
const LASSO_IDENT_RE = "[a-zA-Z_][\\w.]*";
|
|
12684
|
-
const LASSO_ANGLE_RE = "<\\?(lasso(script)?|=)";
|
|
12685
|
-
const LASSO_CLOSE_RE = "\\]|\\?>";
|
|
12686
|
-
const LASSO_KEYWORDS = {
|
|
12687
|
-
$pattern: LASSO_IDENT_RE + "|&[lg]t;",
|
|
12688
|
-
literal: "true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",
|
|
12689
|
-
built_in: "array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",
|
|
12690
|
-
keyword: "cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"
|
|
12691
|
-
};
|
|
12692
|
-
const HTML_COMMENT = hljs.COMMENT("<!--", "-->", {
|
|
12693
|
-
relevance: 0
|
|
12694
|
-
});
|
|
12695
|
-
const LASSO_NOPROCESS = {
|
|
12696
|
-
className: "meta",
|
|
12697
|
-
begin: "\\[noprocess\\]",
|
|
12698
|
-
starts: {
|
|
12699
|
-
end: "\\[/noprocess\\]",
|
|
12700
|
-
returnEnd: true,
|
|
12701
|
-
contains: [
|
|
12702
|
-
HTML_COMMENT
|
|
12703
|
-
]
|
|
12704
|
-
}
|
|
12705
|
-
};
|
|
12706
|
-
const LASSO_START = {
|
|
12707
|
-
className: "meta",
|
|
12708
|
-
begin: "\\[/noprocess|" + LASSO_ANGLE_RE
|
|
12709
|
-
};
|
|
12710
|
-
const LASSO_DATAMEMBER = {
|
|
12711
|
-
className: "symbol",
|
|
12712
|
-
begin: "'" + LASSO_IDENT_RE + "'"
|
|
12713
|
-
};
|
|
12714
|
-
const LASSO_CODE = [
|
|
12715
|
-
hljs.C_LINE_COMMENT_MODE,
|
|
12716
|
-
hljs.C_BLOCK_COMMENT_MODE,
|
|
12717
|
-
hljs.inherit(hljs.C_NUMBER_MODE, {
|
|
12718
|
-
begin: hljs.C_NUMBER_RE + "|(-?infinity|NaN)\\b"
|
|
12719
|
-
}),
|
|
12720
|
-
hljs.inherit(hljs.APOS_STRING_MODE, {
|
|
12721
|
-
illegal: null
|
|
12722
|
-
}),
|
|
12723
|
-
hljs.inherit(hljs.QUOTE_STRING_MODE, {
|
|
12724
|
-
illegal: null
|
|
12725
|
-
}),
|
|
12726
|
-
{
|
|
12727
|
-
className: "string",
|
|
12728
|
-
begin: "`",
|
|
12729
|
-
end: "`"
|
|
12730
|
-
},
|
|
12731
|
-
{
|
|
12732
|
-
variants: [
|
|
12733
|
-
{
|
|
12734
|
-
begin: "[#$]" + LASSO_IDENT_RE
|
|
12735
|
-
},
|
|
12736
|
-
{
|
|
12737
|
-
begin: "#",
|
|
12738
|
-
end: "\\d+",
|
|
12739
|
-
illegal: "\\W"
|
|
12740
|
-
}
|
|
12741
|
-
]
|
|
12742
|
-
},
|
|
12743
|
-
{
|
|
12744
|
-
className: "type",
|
|
12745
|
-
begin: "::\\s*",
|
|
12746
|
-
end: LASSO_IDENT_RE,
|
|
12747
|
-
illegal: "\\W"
|
|
12748
|
-
},
|
|
12749
|
-
{
|
|
12750
|
-
className: "params",
|
|
12751
|
-
variants: [
|
|
12752
|
-
{
|
|
12753
|
-
begin: "-(?!infinity)" + LASSO_IDENT_RE,
|
|
12754
|
-
relevance: 0
|
|
12755
|
-
},
|
|
12756
|
-
{
|
|
12757
|
-
begin: "(\\.\\.\\.)"
|
|
12758
|
-
}
|
|
12759
|
-
]
|
|
12760
|
-
},
|
|
12761
|
-
{
|
|
12762
|
-
begin: /(->|\.)\s*/,
|
|
12763
|
-
relevance: 0,
|
|
12764
|
-
contains: [
|
|
12765
|
-
LASSO_DATAMEMBER
|
|
12766
|
-
]
|
|
12767
|
-
},
|
|
12768
|
-
{
|
|
12769
|
-
className: "class",
|
|
12770
|
-
beginKeywords: "define",
|
|
12771
|
-
returnEnd: true,
|
|
12772
|
-
end: "\\(|=>",
|
|
12773
|
-
contains: [
|
|
12774
|
-
hljs.inherit(hljs.TITLE_MODE, {
|
|
12775
|
-
begin: LASSO_IDENT_RE + "(=(?!>))?|[-+*/%](?!>)"
|
|
12776
|
-
})
|
|
12777
|
-
]
|
|
12778
|
-
}
|
|
12779
|
-
];
|
|
12780
|
-
return {
|
|
12781
|
-
name: "Lasso",
|
|
12782
|
-
aliases: [
|
|
12783
|
-
"ls",
|
|
12784
|
-
"lassoscript"
|
|
12785
|
-
],
|
|
12786
|
-
case_insensitive: true,
|
|
12787
|
-
keywords: LASSO_KEYWORDS,
|
|
12788
|
-
contains: [
|
|
12789
|
-
{
|
|
12790
|
-
className: "meta",
|
|
12791
|
-
begin: LASSO_CLOSE_RE,
|
|
12792
|
-
relevance: 0,
|
|
12793
|
-
starts: {
|
|
12794
|
-
end: "\\[|" + LASSO_ANGLE_RE,
|
|
12795
|
-
returnEnd: true,
|
|
12796
|
-
relevance: 0,
|
|
12797
|
-
contains: [
|
|
12798
|
-
HTML_COMMENT
|
|
12799
|
-
]
|
|
12800
|
-
}
|
|
12801
|
-
},
|
|
12802
|
-
LASSO_NOPROCESS,
|
|
12803
|
-
LASSO_START,
|
|
12804
|
-
{
|
|
12805
|
-
className: "meta",
|
|
12806
|
-
begin: "\\[no_square_brackets",
|
|
12807
|
-
starts: {
|
|
12808
|
-
end: "\\[/no_square_brackets\\]",
|
|
12809
|
-
keywords: LASSO_KEYWORDS,
|
|
12810
|
-
contains: [
|
|
12811
|
-
{
|
|
12812
|
-
className: "meta",
|
|
12813
|
-
begin: LASSO_CLOSE_RE,
|
|
12814
|
-
relevance: 0,
|
|
12815
|
-
starts: {
|
|
12816
|
-
end: "\\[noprocess\\]|" + LASSO_ANGLE_RE,
|
|
12817
|
-
returnEnd: true,
|
|
12818
|
-
contains: [
|
|
12819
|
-
HTML_COMMENT
|
|
12820
|
-
]
|
|
12821
|
-
}
|
|
12822
|
-
},
|
|
12823
|
-
LASSO_NOPROCESS,
|
|
12824
|
-
LASSO_START
|
|
12825
|
-
].concat(LASSO_CODE)
|
|
12826
|
-
}
|
|
12827
|
-
},
|
|
12828
|
-
{
|
|
12829
|
-
className: "meta",
|
|
12830
|
-
begin: "\\[",
|
|
12831
|
-
relevance: 0
|
|
12832
|
-
},
|
|
12833
|
-
{
|
|
12834
|
-
className: "meta",
|
|
12835
|
-
begin: "^#!",
|
|
12836
|
-
end: "lasso9$",
|
|
12837
|
-
relevance: 10
|
|
12838
|
-
}
|
|
12839
|
-
].concat(LASSO_CODE)
|
|
12840
|
-
};
|
|
12841
|
-
}
|
|
12842
|
-
module.exports = $c4293165dc24b1d7$var$lasso;
|
|
12843
|
-
|
|
12844
|
-
});
|
|
12845
|
-
|
|
12846
12623
|
parcelRegister("Hvsp9", function(module, exports) {
|
|
12847
12624
|
/**
|
|
12848
12625
|
* @param {string} value
|
|
@@ -26143,146 +25920,35 @@ module.exports = $bd2e259dd188e4ad$var$sas;
|
|
|
26143
25920
|
|
|
26144
25921
|
});
|
|
26145
25922
|
|
|
26146
|
-
parcelRegister("
|
|
25923
|
+
parcelRegister("4y9fC", function(module, exports) {
|
|
26147
25924
|
/*
|
|
26148
|
-
Language:
|
|
26149
|
-
|
|
26150
|
-
Author:
|
|
26151
|
-
|
|
26152
|
-
|
|
26153
|
-
*/ function $
|
|
26154
|
-
const ANNOTATION = {
|
|
26155
|
-
className: "meta",
|
|
26156
|
-
begin: "@[A-Za-z]+"
|
|
26157
|
-
};
|
|
26158
|
-
// used in strings for escaping/interpolation/substitution
|
|
26159
|
-
const SUBST = {
|
|
26160
|
-
className: "subst",
|
|
26161
|
-
variants: [
|
|
26162
|
-
{
|
|
26163
|
-
begin: "\\$[A-Za-z0-9_]+"
|
|
26164
|
-
},
|
|
26165
|
-
{
|
|
26166
|
-
begin: /\$\{/,
|
|
26167
|
-
end: /\}/
|
|
26168
|
-
}
|
|
26169
|
-
]
|
|
26170
|
-
};
|
|
26171
|
-
const STRING = {
|
|
26172
|
-
className: "string",
|
|
26173
|
-
variants: [
|
|
26174
|
-
{
|
|
26175
|
-
begin: '"',
|
|
26176
|
-
end: '"',
|
|
26177
|
-
illegal: "\\n",
|
|
26178
|
-
contains: [
|
|
26179
|
-
hljs.BACKSLASH_ESCAPE
|
|
26180
|
-
]
|
|
26181
|
-
},
|
|
26182
|
-
{
|
|
26183
|
-
begin: '"""',
|
|
26184
|
-
end: '"""',
|
|
26185
|
-
relevance: 10
|
|
26186
|
-
},
|
|
26187
|
-
{
|
|
26188
|
-
begin: '[a-z]+"',
|
|
26189
|
-
end: '"',
|
|
26190
|
-
illegal: "\\n",
|
|
26191
|
-
contains: [
|
|
26192
|
-
hljs.BACKSLASH_ESCAPE,
|
|
26193
|
-
SUBST
|
|
26194
|
-
]
|
|
26195
|
-
},
|
|
26196
|
-
{
|
|
26197
|
-
className: "string",
|
|
26198
|
-
begin: '[a-z]+"""',
|
|
26199
|
-
end: '"""',
|
|
26200
|
-
contains: [
|
|
26201
|
-
SUBST
|
|
26202
|
-
],
|
|
26203
|
-
relevance: 10
|
|
26204
|
-
}
|
|
26205
|
-
]
|
|
26206
|
-
};
|
|
26207
|
-
const SYMBOL = {
|
|
26208
|
-
className: "symbol",
|
|
26209
|
-
begin: "'\\w[\\w\\d_]*(?!')"
|
|
26210
|
-
};
|
|
26211
|
-
const TYPE = {
|
|
26212
|
-
className: "type",
|
|
26213
|
-
begin: "\\b[A-Z][A-Za-z0-9_]*",
|
|
26214
|
-
relevance: 0
|
|
26215
|
-
};
|
|
26216
|
-
const NAME = {
|
|
26217
|
-
className: "title",
|
|
26218
|
-
begin: /[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,
|
|
26219
|
-
relevance: 0
|
|
26220
|
-
};
|
|
26221
|
-
const CLASS = {
|
|
26222
|
-
className: "class",
|
|
26223
|
-
beginKeywords: "class object trait type",
|
|
26224
|
-
end: /[:={\[\n;]/,
|
|
26225
|
-
excludeEnd: true,
|
|
26226
|
-
contains: [
|
|
26227
|
-
hljs.C_LINE_COMMENT_MODE,
|
|
26228
|
-
hljs.C_BLOCK_COMMENT_MODE,
|
|
26229
|
-
{
|
|
26230
|
-
beginKeywords: "extends with",
|
|
26231
|
-
relevance: 10
|
|
26232
|
-
},
|
|
26233
|
-
{
|
|
26234
|
-
begin: /\[/,
|
|
26235
|
-
end: /\]/,
|
|
26236
|
-
excludeBegin: true,
|
|
26237
|
-
excludeEnd: true,
|
|
26238
|
-
relevance: 0,
|
|
26239
|
-
contains: [
|
|
26240
|
-
TYPE
|
|
26241
|
-
]
|
|
26242
|
-
},
|
|
26243
|
-
{
|
|
26244
|
-
className: "params",
|
|
26245
|
-
begin: /\(/,
|
|
26246
|
-
end: /\)/,
|
|
26247
|
-
excludeBegin: true,
|
|
26248
|
-
excludeEnd: true,
|
|
26249
|
-
relevance: 0,
|
|
26250
|
-
contains: [
|
|
26251
|
-
TYPE
|
|
26252
|
-
]
|
|
26253
|
-
},
|
|
26254
|
-
NAME
|
|
26255
|
-
]
|
|
26256
|
-
};
|
|
26257
|
-
const METHOD = {
|
|
26258
|
-
className: "function",
|
|
26259
|
-
beginKeywords: "def",
|
|
26260
|
-
end: /[:={\[(\n;]/,
|
|
26261
|
-
excludeEnd: true,
|
|
26262
|
-
contains: [
|
|
26263
|
-
NAME
|
|
26264
|
-
]
|
|
26265
|
-
};
|
|
25925
|
+
Language: Shell Session
|
|
25926
|
+
Requires: bash.js
|
|
25927
|
+
Author: TSUYUSATO Kitsune <make.just.on@gmail.com>
|
|
25928
|
+
Category: common
|
|
25929
|
+
Audit: 2020
|
|
25930
|
+
*/ /** @type LanguageFn */ function $3501837396ea252e$var$shell(hljs) {
|
|
26266
25931
|
return {
|
|
26267
|
-
name: "
|
|
26268
|
-
|
|
26269
|
-
|
|
26270
|
-
|
|
26271
|
-
},
|
|
25932
|
+
name: "Shell Session",
|
|
25933
|
+
aliases: [
|
|
25934
|
+
"console"
|
|
25935
|
+
],
|
|
26272
25936
|
contains: [
|
|
26273
|
-
|
|
26274
|
-
|
|
26275
|
-
|
|
26276
|
-
|
|
26277
|
-
|
|
26278
|
-
|
|
26279
|
-
|
|
26280
|
-
|
|
26281
|
-
|
|
25937
|
+
{
|
|
25938
|
+
className: "meta",
|
|
25939
|
+
// We cannot add \s (spaces) in the regular expression otherwise it will be too broad and produce unexpected result.
|
|
25940
|
+
// For instance, in the following example, it would match "echo /path/to/home >" as a prompt:
|
|
25941
|
+
// echo /path/to/home > t.exe
|
|
25942
|
+
begin: /^\s{0,3}[/~\w\d[\]()@-]*[>%$#]/,
|
|
25943
|
+
starts: {
|
|
25944
|
+
end: /[^\\](?=\s*$)/,
|
|
25945
|
+
subLanguage: "bash"
|
|
25946
|
+
}
|
|
25947
|
+
}
|
|
26282
25948
|
]
|
|
26283
25949
|
};
|
|
26284
25950
|
}
|
|
26285
|
-
module.exports = $
|
|
25951
|
+
module.exports = $3501837396ea252e$var$shell;
|
|
26286
25952
|
|
|
26287
25953
|
});
|
|
26288
25954
|
|
|
@@ -26640,38 +26306,6 @@ module.exports = $9be3819e1d7933c2$var$scss;
|
|
|
26640
26306
|
|
|
26641
26307
|
});
|
|
26642
26308
|
|
|
26643
|
-
parcelRegister("4y9fC", function(module, exports) {
|
|
26644
|
-
/*
|
|
26645
|
-
Language: Shell Session
|
|
26646
|
-
Requires: bash.js
|
|
26647
|
-
Author: TSUYUSATO Kitsune <make.just.on@gmail.com>
|
|
26648
|
-
Category: common
|
|
26649
|
-
Audit: 2020
|
|
26650
|
-
*/ /** @type LanguageFn */ function $3501837396ea252e$var$shell(hljs) {
|
|
26651
|
-
return {
|
|
26652
|
-
name: "Shell Session",
|
|
26653
|
-
aliases: [
|
|
26654
|
-
"console"
|
|
26655
|
-
],
|
|
26656
|
-
contains: [
|
|
26657
|
-
{
|
|
26658
|
-
className: "meta",
|
|
26659
|
-
// We cannot add \s (spaces) in the regular expression otherwise it will be too broad and produce unexpected result.
|
|
26660
|
-
// For instance, in the following example, it would match "echo /path/to/home >" as a prompt:
|
|
26661
|
-
// echo /path/to/home > t.exe
|
|
26662
|
-
begin: /^\s{0,3}[/~\w\d[\]()@-]*[>%$#]/,
|
|
26663
|
-
starts: {
|
|
26664
|
-
end: /[^\\](?=\s*$)/,
|
|
26665
|
-
subLanguage: "bash"
|
|
26666
|
-
}
|
|
26667
|
-
}
|
|
26668
|
-
]
|
|
26669
|
-
};
|
|
26670
|
-
}
|
|
26671
|
-
module.exports = $3501837396ea252e$var$shell;
|
|
26672
|
-
|
|
26673
|
-
});
|
|
26674
|
-
|
|
26675
26309
|
parcelRegister("g3mE4", function(module, exports) {
|
|
26676
26310
|
/*
|
|
26677
26311
|
Language: Smali
|
|
@@ -34625,41 +34259,41 @@ $9baaebd05a4e0c25$var$emphasize.highlight = $9baaebd05a4e0c25$var$highlight;
|
|
|
34625
34259
|
$9baaebd05a4e0c25$var$emphasize.highlightAuto = $9baaebd05a4e0c25$var$highlightAuto;
|
|
34626
34260
|
// Default style sheet.
|
|
34627
34261
|
var $9baaebd05a4e0c25$var$defaultSheet = {
|
|
34628
|
-
comment: $
|
|
34629
|
-
quote: $
|
|
34630
|
-
keyword: $
|
|
34631
|
-
"selector-tag": $
|
|
34632
|
-
addition: $
|
|
34633
|
-
number: $
|
|
34634
|
-
string: $
|
|
34635
|
-
"meta meta-string": $
|
|
34636
|
-
literal: $
|
|
34637
|
-
doctag: $
|
|
34638
|
-
regexp: $
|
|
34639
|
-
title: $
|
|
34640
|
-
section: $
|
|
34641
|
-
name: $
|
|
34642
|
-
"selector-id": $
|
|
34643
|
-
"selector-class": $
|
|
34644
|
-
attribute: $
|
|
34645
|
-
attr: $
|
|
34646
|
-
variable: $
|
|
34647
|
-
"template-variable": $
|
|
34648
|
-
"class title": $
|
|
34649
|
-
type: $
|
|
34650
|
-
symbol: $
|
|
34651
|
-
bullet: $
|
|
34652
|
-
subst: $
|
|
34653
|
-
meta: $
|
|
34654
|
-
"meta keyword": $
|
|
34655
|
-
"selector-attr": $
|
|
34656
|
-
"selector-pseudo": $
|
|
34657
|
-
link: $
|
|
34658
|
-
/* eslint-disable camelcase */ built_in: $
|
|
34659
|
-
/* eslint-enable camelcase */ deletion: $
|
|
34660
|
-
emphasis: $
|
|
34661
|
-
strong: $
|
|
34662
|
-
formula: $
|
|
34262
|
+
comment: $cecYx$chalk.gray,
|
|
34263
|
+
quote: $cecYx$chalk.gray,
|
|
34264
|
+
keyword: $cecYx$chalk.green,
|
|
34265
|
+
"selector-tag": $cecYx$chalk.green,
|
|
34266
|
+
addition: $cecYx$chalk.green,
|
|
34267
|
+
number: $cecYx$chalk.cyan,
|
|
34268
|
+
string: $cecYx$chalk.cyan,
|
|
34269
|
+
"meta meta-string": $cecYx$chalk.cyan,
|
|
34270
|
+
literal: $cecYx$chalk.cyan,
|
|
34271
|
+
doctag: $cecYx$chalk.cyan,
|
|
34272
|
+
regexp: $cecYx$chalk.cyan,
|
|
34273
|
+
title: $cecYx$chalk.blue,
|
|
34274
|
+
section: $cecYx$chalk.blue,
|
|
34275
|
+
name: $cecYx$chalk.blue,
|
|
34276
|
+
"selector-id": $cecYx$chalk.blue,
|
|
34277
|
+
"selector-class": $cecYx$chalk.blue,
|
|
34278
|
+
attribute: $cecYx$chalk.yellow,
|
|
34279
|
+
attr: $cecYx$chalk.yellow,
|
|
34280
|
+
variable: $cecYx$chalk.yellow,
|
|
34281
|
+
"template-variable": $cecYx$chalk.yellow,
|
|
34282
|
+
"class title": $cecYx$chalk.yellow,
|
|
34283
|
+
type: $cecYx$chalk.yellow,
|
|
34284
|
+
symbol: $cecYx$chalk.magenta,
|
|
34285
|
+
bullet: $cecYx$chalk.magenta,
|
|
34286
|
+
subst: $cecYx$chalk.magenta,
|
|
34287
|
+
meta: $cecYx$chalk.magenta,
|
|
34288
|
+
"meta keyword": $cecYx$chalk.magenta,
|
|
34289
|
+
"selector-attr": $cecYx$chalk.magenta,
|
|
34290
|
+
"selector-pseudo": $cecYx$chalk.magenta,
|
|
34291
|
+
link: $cecYx$chalk.magenta,
|
|
34292
|
+
/* eslint-disable camelcase */ built_in: $cecYx$chalk.red,
|
|
34293
|
+
/* eslint-enable camelcase */ deletion: $cecYx$chalk.red,
|
|
34294
|
+
emphasis: $cecYx$chalk.italic,
|
|
34295
|
+
strong: $cecYx$chalk.bold,
|
|
34296
|
+
formula: $cecYx$chalk.inverse
|
|
34663
34297
|
};
|
|
34664
34298
|
// Highlight `value` as `language`.
|
|
34665
34299
|
function $9baaebd05a4e0c25$var$highlight(language, value, sheet) {
|
|
@@ -34763,7 +34397,7 @@ $9baaebd05a4e0c25$exports.registerLanguage("axapta", (parcelRequire("2kyoL")));
|
|
|
34763
34397
|
|
|
34764
34398
|
$9baaebd05a4e0c25$exports.registerLanguage("bash", (parcelRequire("f4C7M")));
|
|
34765
34399
|
|
|
34766
|
-
$9baaebd05a4e0c25$exports.registerLanguage("basic",
|
|
34400
|
+
$9baaebd05a4e0c25$exports.registerLanguage("basic", $c2e98e78b0affb4c$import$d3af507014bccb08);
|
|
34767
34401
|
|
|
34768
34402
|
$9baaebd05a4e0c25$exports.registerLanguage("bnf", (parcelRequire("kbrFI")));
|
|
34769
34403
|
|
|
@@ -34909,7 +34543,7 @@ $9baaebd05a4e0c25$exports.registerLanguage("julia-repl", (parcelRequire("dut0F")
|
|
|
34909
34543
|
|
|
34910
34544
|
$9baaebd05a4e0c25$exports.registerLanguage("kotlin", (parcelRequire("dcxZy")));
|
|
34911
34545
|
|
|
34912
|
-
$9baaebd05a4e0c25$exports.registerLanguage("lasso",
|
|
34546
|
+
$9baaebd05a4e0c25$exports.registerLanguage("lasso", $c2e98e78b0affb4c$import$ff18e155da20a110);
|
|
34913
34547
|
|
|
34914
34548
|
$9baaebd05a4e0c25$exports.registerLanguage("latex", (parcelRequire("Hvsp9")));
|
|
34915
34549
|
|
|
@@ -35030,7 +34664,7 @@ $9baaebd05a4e0c25$exports.registerLanguage("rust", (parcelRequire("5ve2q")));
|
|
|
35030
34664
|
|
|
35031
34665
|
$9baaebd05a4e0c25$exports.registerLanguage("sas", (parcelRequire("gf082")));
|
|
35032
34666
|
|
|
35033
|
-
$9baaebd05a4e0c25$exports.registerLanguage("scala",
|
|
34667
|
+
$9baaebd05a4e0c25$exports.registerLanguage("scala", $c2e98e78b0affb4c$import$f30d2cb50052b6e9);
|
|
35034
34668
|
|
|
35035
34669
|
$9baaebd05a4e0c25$exports.registerLanguage("scheme", (parcelRequire("ceY6a")));
|
|
35036
34670
|
|
|
@@ -35297,8 +34931,8 @@ function $5a7d0d8c3f859e1e$export$2e2bcd8739ae039(code, highlights, inputOpts =
|
|
|
35297
34931
|
// Highlights messages and prefixes when colors are enabled
|
|
35298
34932
|
const highlighter = (s, bold)=>{
|
|
35299
34933
|
if (opts.useColor) {
|
|
35300
|
-
let redString = (0, ($parcel$interopDefault($
|
|
35301
|
-
return bold ? (0, ($parcel$interopDefault($
|
|
34934
|
+
let redString = (0, ($parcel$interopDefault($cecYx$chalk))).red(s);
|
|
34935
|
+
return bold ? (0, ($parcel$interopDefault($cecYx$chalk))).bold(redString) : redString;
|
|
35302
34936
|
}
|
|
35303
34937
|
return s;
|
|
35304
34938
|
};
|