mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
* fix(generators): Changes to exports and access controls for TypeScript compatibility (#7295) * fix(generators): Add missing declarations for Order enums * chore(generators): Remove spurious whitespace * fix(generators): Make provideFunction_ etc. public Remove the protected declaration on provideFunction_ and FUNCTION_NAME_PLACEHOLDER_ so they can be used from generator functions written in TypeScript. Not strictly part of #7283, but closely related and required to fixing the related issue google/blockly-samples#1785. * chore(generators): format (cherry picked from commitd503fbb409) * fix: Correct errors in `HSV_SATURATION`, `HSV_VALUE` accessors (#7297) * fix: Correct errors in HSV_SATURATION, HSV_VALUE accessors Fix the comment / message errors noted in https://github.com/google/blockly/pull/7249#issuecomment-1638645810 * chore: Add renamings for HSV_SATURATION, HSV_VALUE (cherry picked from commit1bc4f67d78) * release: Update version number to 10.0.2 --------- Co-authored-by: Christopher Allen <cpcallen+git@google.com>
23 lines
579 B
TypeScript
23 lines
579 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2020 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
export enum Order {
|
|
ATOMIC = 0, // literals
|
|
// The next level was not explicit in documentation and inferred by Ellen.
|
|
HIGH = 1, // Function calls, tables[]
|
|
EXPONENTIATION = 2, // ^
|
|
UNARY = 3, // not # - ~
|
|
MULTIPLICATIVE = 4, // * / %
|
|
ADDITIVE = 5, // + -
|
|
CONCATENATION = 6, // ..
|
|
RELATIONAL = 7, // < > <= >= ~= ==
|
|
AND = 8, // and
|
|
OR = 9, // or
|
|
NONE = 99,
|
|
}
|
|
|
|
export declare const luaGenerator: any;
|