Small touch that improoves performance

This commit is contained in:
barsdeveloper
2023-03-28 14:54:09 +02:00
parent 53a99a426e
commit dd83463cb7
3 changed files with 3 additions and 3 deletions

2
dist/ueblueprint.js vendored
View File

@@ -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}"))

File diff suppressed because one or more lines are too long

View File

@@ -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}"))