зеркало из https://github.com/mozilla/gecko-dev.git
Allowed multiple units in a unit expression
This commit is contained in:
Родитель
da04ea7fda
Коммит
76e8bcd8d6
|
@ -34,19 +34,22 @@
|
|||
(production :qualified-identifier (:expression-qualified-identifier) qualified-identifier-expression)
|
||||
|
||||
|
||||
(%subsection "Unit Expressions")
|
||||
(production :unit-expression (:parenthesized-list-expression) unit-expression-parenthesized-list-expression)
|
||||
(production :unit-expression ($number :no-line-break $string) unit-expression-number-with-unit)
|
||||
(production :unit-expression (:unit-expression :no-line-break $string) unit-expression-unit-expression-with-unit)
|
||||
|
||||
(%subsection "Primary Expressions")
|
||||
(production :primary-expression (null) primary-expression-null)
|
||||
(production :primary-expression (true) primary-expression-true)
|
||||
(production :primary-expression (false) primary-expression-false)
|
||||
(production :primary-expression (public) primary-expression-public)
|
||||
(production :primary-expression ($number) primary-expression-number)
|
||||
(production :primary-expression ($number :no-line-break $string) primary-expression-number-with-unit)
|
||||
(production :primary-expression ($string) primary-expression-string)
|
||||
(production :primary-expression (this) primary-expression-this)
|
||||
(production :primary-expression (super) primary-expression-super)
|
||||
(production :primary-expression ($regular-expression) primary-expression-regular-expression)
|
||||
(production :primary-expression (:parenthesized-list-expression) primary-expression-parenthesized-list-expression)
|
||||
(production :primary-expression (:parenthesized-list-expression :no-line-break $string) primary-expression-parenthesized-list-expression-with-unit)
|
||||
(production :primary-expression (:unit-expression) primary-expression-unit-expression)
|
||||
(production :primary-expression (:array-literal) primary-expression-array-literal)
|
||||
(production :primary-expression (:object-literal) primary-expression-object-literal)
|
||||
(production :primary-expression (:function-expression) primary-expression-function-expression)
|
||||
|
|
|
@ -34,19 +34,22 @@
|
|||
(production :qualified-identifier (:expression-qualified-identifier) qualified-identifier-expression)
|
||||
|
||||
|
||||
(%subsection "Unit Expressions")
|
||||
(production :unit-expression (:parenthesized-list-expression) unit-expression-parenthesized-list-expression)
|
||||
(production :unit-expression ($number :no-line-break $string) unit-expression-number-with-unit)
|
||||
(production :unit-expression (:unit-expression :no-line-break $string) unit-expression-unit-expression-with-unit)
|
||||
|
||||
(%subsection "Primary Expressions")
|
||||
(production :primary-expression (null) primary-expression-null)
|
||||
(production :primary-expression (true) primary-expression-true)
|
||||
(production :primary-expression (false) primary-expression-false)
|
||||
(production :primary-expression (public) primary-expression-public)
|
||||
(production :primary-expression ($number) primary-expression-number)
|
||||
(production :primary-expression ($number :no-line-break $string) primary-expression-number-with-unit)
|
||||
(production :primary-expression ($string) primary-expression-string)
|
||||
(production :primary-expression (this) primary-expression-this)
|
||||
(production :primary-expression (super) primary-expression-super)
|
||||
(production :primary-expression ($regular-expression) primary-expression-regular-expression)
|
||||
(production :primary-expression (:parenthesized-list-expression) primary-expression-parenthesized-list-expression)
|
||||
(production :primary-expression (:parenthesized-list-expression :no-line-break $string) primary-expression-parenthesized-list-expression-with-unit)
|
||||
(production :primary-expression (:unit-expression) primary-expression-unit-expression)
|
||||
(production :primary-expression (:array-literal) primary-expression-array-literal)
|
||||
(production :primary-expression (:object-literal) primary-expression-object-literal)
|
||||
(production :primary-expression (:function-expression) primary-expression-function-expression)
|
||||
|
|
Загрузка…
Ссылка в новой задаче