mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:17:41 +08:00
Small touch that improoves performance
This commit is contained in:
2
dist/ueblueprint.js
vendored
2
dist/ueblueprint.js
vendored
@@ -3169,7 +3169,7 @@ class Grammar {
|
||||
static symbol = P.regex(Grammar.Regex.Symbol)
|
||||
static attributeName = P.regex(Grammar.Regex.DotSeparatedSymbols)
|
||||
static guid = P.regex(new RegExp(`${Grammar.Regex.HexDigit.source}{32}`))
|
||||
static commaSeparation = P.regex(/\s*,\s*/)
|
||||
static commaSeparation = P.regex(/\s*,\s*(?!\s*\))/)
|
||||
static optTrailingComma = P.regex(/\s*(?:,\s*)?/)
|
||||
static typeReference = P.alt(P.regex(Grammar.Regex.Path), this.symbol)
|
||||
static hexColorChannel = P.regex(new RegExp(Grammar.Regex.HexDigit.source + "{2}"))
|
||||
|
||||
2
dist/ueblueprint.min.js
vendored
2
dist/ueblueprint.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -101,7 +101,7 @@ export default class Grammar {
|
||||
static symbol = P.regex(Grammar.Regex.Symbol)
|
||||
static attributeName = P.regex(Grammar.Regex.DotSeparatedSymbols)
|
||||
static guid = P.regex(new RegExp(`${Grammar.Regex.HexDigit.source}{32}`))
|
||||
static commaSeparation = P.regex(/\s*,\s*/)
|
||||
static commaSeparation = P.regex(/\s*,\s*(?!\))/)
|
||||
static optTrailingComma = P.regex(/\s*(?:,\s*)?/)
|
||||
static typeReference = P.alt(P.regex(Grammar.Regex.Path), this.symbol)
|
||||
static hexColorChannel = P.regex(new RegExp(Grammar.Regex.HexDigit.source + "{2}"))
|
||||
|
||||
Reference in New Issue
Block a user