Commit aeb86d57 authored by Daniel Clifford's avatar Daniel Clifford Committed by Commit Bot

[torque]: Add constexpr keyword/types for compile-time evaluation

Torque expressions of type constexpr are evaluated at compile-time
rather than runtime. They are backed by C++ types rather than
TNode<X> types, so the macro functions that are called by generated
C++ code expect values to be computed when the snapshot is generated
rather than by TurboFan-generated code.

Specifically, "if" statements can have a constexpr modifier. With this
modifier, a type of "constexpr bool" is expected rather than "bool",
and in that case instead of generating a CSA BranchIf, it generates
a C++ "if (<bool expression>)" that generates code for only the true or
false path based on the bool value at torque-execution (compile time)
rather than generating both paths (including inserting phi nodes
for variables modified on either branch at the re-merge at the end
of the if) and dynamically dispatching to the true or false path
during d8/Chrome/node.js execution (runtime) using a CSA BranchIf.

Change-Id: I8238e25aaadbfc618847e04556e96a3949ea5a8d
Reviewed-on: https://chromium-review.googlesource.com/1042085
Commit-Queue: Daniel Clifford <danno@chromium.org>
Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53001}
parent 40a95443
......@@ -23,7 +23,7 @@ module array {
if (IsArraySpeciesProtectorCellInvalid()) goto Bailout;
// Fast path only works on fast elements kind and with writable length.
let elementsKind: int32 = EnsureArrayPushable(map) otherwise Bailout;
let elementsKind: ElementsKind = EnsureArrayPushable(map) otherwise Bailout;
if (!IsFastElementsKind(elementsKind)) goto Bailout;
// For now, only support non-double fast elements
......
......@@ -7,13 +7,13 @@ type void generates 'void';
type never generates 'void';
type Object generates 'TNode<Object>';
type int32 generates 'TNode<Int32T>';
type intptr generates 'TNode<IntPtrT>';
type float64 generates 'TNode<Float64T>';
type bit generates 'TNode<BoolT>';
type int32 generates 'TNode<Int32T>' constexpr 'int32_t';
type intptr generates 'TNode<IntPtrT>' constexpr 'intptr_t';
type float64 generates 'TNode<Float64T>' constexpr 'double';
type bool generates 'TNode<BoolT>' constexpr 'bool';
type int31 extends int32 generates 'TNode<Int32T>';
type RawPtr generates 'TNode<RawPtrT>';
type int31 extends int32 generates 'TNode<Int32T>' constexpr 'int32_t';
type RawPtr generates 'TNode<RawPtrT>' constexpr 'void*';
type Number extends Object generates 'TNode<Number>';
type Smi extends Number generates 'TNode<Smi>';
type HeapObject extends Object generates 'TNode<HeapObject>';
......@@ -34,45 +34,35 @@ type JSArrayBuffer extends Object generates 'TNode<JSArrayBuffer>';
type JSArrayBufferView extends Object generates 'TNode<JSArrayBufferView>';
type JSTypedArray extends JSArrayBufferView generates 'TNode<JSTypedArray>';
type const_int32 generates 'int32_t';
type const_int31 extends const_int32 generates 'int32_t';
type const_float64 generates 'double';
type InstanceType extends int32 generates 'TNode<Int32T>';
type ElementsKind extends const_int32 generates 'ElementsKind';
type LanguageMode extends Smi;
type ExtractFixedArrayFlags;
type ElementsKind generates 'TNode<Int32T>' constexpr 'ElementsKind';
type LanguageMode generates 'TNode<Smi>' constexpr 'LanguageMode';
type ExtractFixedArrayFlags generates
'TNode<Smi>' constexpr 'ExtractFixedArrayFlags';
type CompareOperator;
type MessageTemplate;
type HasPropertyFlag generates 'HasPropertyLookupMode';
const PACKED_SMI_ELEMENTS: ElementsKind = 'PACKED_SMI_ELEMENTS';
const HOLEY_SMI_ELEMENTS: ElementsKind = 'HOLEY_SMI_ELEMENTS';
const PACKED_ELEMENTS: ElementsKind = 'PACKED_ELEMENTS';
const HOLEY_ELEMENTS: ElementsKind = 'HOLEY_ELEMENTS';
const PACKED_DOUBLE_ELEMENTS: ElementsKind = 'PACKED_DOUBLE_ELEMENTS';
const HOLEY_DOUBLE_ELEMENTS: ElementsKind = 'HOLEY_DOUBLE_ELEMENTS';
const UINT8_ELEMENTS: ElementsKind = 'UINT8_ELEMENTS';
const INT8_ELEMENTS: ElementsKind = 'INT8_ELEMENTS';
const UINT16_ELEMENTS: ElementsKind = 'UINT16_ELEMENTS';
const INT16_ELEMENTS: ElementsKind = 'INT16_ELEMENTS';
const UINT32_ELEMENTS: ElementsKind = 'UINT32_ELEMENTS';
const INT32_ELEMENTS: ElementsKind = 'INT32_ELEMENTS';
const FLOAT32_ELEMENTS: ElementsKind = 'FLOAT32_ELEMENTS';
const FLOAT64_ELEMENTS: ElementsKind = 'FLOAT64_ELEMENTS';
const UINT8_CLAMPED_ELEMENTS: ElementsKind = 'UINT8_CLAMPED_ELEMENTS';
const BIGUINT64_ELEMENTS: ElementsKind = 'BIGUINT64_ELEMENTS';
const BIGINT64_ELEMENTS: ElementsKind = 'BIGINT64_ELEMENTS';
const kOperationLessThan: CompareOperator = 'Operation::kLessThan';
const kOperationLessThanEqual: CompareOperator = 'Operation::kLessThanEqual';
const kOperationGreaterThan: CompareOperator = 'Operation::kGreaterThan';
const kOperationGreaterThanEqual: CompareOperator =
'Operation::kGreaterThanEqual';
const kAllFixedArrays: ExtractFixedArrayFlags =
const PACKED_SMI_ELEMENTS: constexpr ElementsKind = 'PACKED_SMI_ELEMENTS';
const HOLEY_SMI_ELEMENTS: constexpr ElementsKind = 'HOLEY_SMI_ELEMENTS';
const PACKED_ELEMENTS: constexpr ElementsKind = 'PACKED_ELEMENTS';
const HOLEY_ELEMENTS: constexpr ElementsKind = 'HOLEY_ELEMENTS';
const PACKED_DOUBLE_ELEMENTS: constexpr ElementsKind = 'PACKED_DOUBLE_ELEMENTS';
const HOLEY_DOUBLE_ELEMENTS: constexpr ElementsKind = 'HOLEY_DOUBLE_ELEMENTS';
const UINT8_ELEMENTS: constexpr ElementsKind = 'UINT8_ELEMENTS';
const INT8_ELEMENTS: constexpr ElementsKind = 'INT8_ELEMENTS';
const UINT16_ELEMENTS: constexpr ElementsKind = 'UINT16_ELEMENTS';
const INT16_ELEMENTS: constexpr ElementsKind = 'INT16_ELEMENTS';
const UINT32_ELEMENTS: constexpr ElementsKind = 'UINT32_ELEMENTS';
const INT32_ELEMENTS: constexpr ElementsKind = 'INT32_ELEMENTS';
const FLOAT32_ELEMENTS: constexpr ElementsKind = 'FLOAT32_ELEMENTS';
const FLOAT64_ELEMENTS: constexpr ElementsKind = 'FLOAT64_ELEMENTS';
const UINT8_CLAMPED_ELEMENTS: constexpr ElementsKind = 'UINT8_CLAMPED_ELEMENTS';
const BIGUINT64_ELEMENTS: constexpr ElementsKind = 'BIGUINT64_ELEMENTS';
const BIGINT64_ELEMENTS: constexpr ElementsKind = 'BIGINT64_ELEMENTS';
const kAllFixedArrays: constexpr ExtractFixedArrayFlags =
'ExtractFixedArrayFlag::kAllFixedArrays';
const kCOWMap: Map = 'LoadRoot(Heap::kFixedCOWArrayMapRootIndex)';
......@@ -84,7 +74,7 @@ const kInvalidArrayLengthMessage: MessageTemplate =
const kHasProperty: HasPropertyFlag = 'kHasProperty';
const kMaxSafeInteger: const_float64 = 'kMaxSafeInteger';
const kMaxSafeInteger: constexpr float64 = 'kMaxSafeInteger';
const kNotTypedArray: MessageTemplate = 'MessageTemplate::kNotTypedArray';
const kDetachedOperation: MessageTemplate =
......@@ -97,13 +87,11 @@ const null: Oddball = 'NullConstant()';
const undefined: Oddball = 'UndefinedConstant()';
const true: Boolean = 'TrueConstant()';
const false: Boolean = 'FalseConstant()';
const yes: bit = 'Int32TrueConstant()';
const no: bit = 'Int32FalseConstant()';
const yes: constexpr bool = 'true';
const no: constexpr bool = 'false';
const strict: LanguageMode =
'SmiConstant(static_cast<int>(LanguageMode::kStrict))';
const sloppy: LanguageMode =
'SmiConstant(static_cast<int>(LanguageMode::kSloppy))';
const strict: constexpr LanguageMode = 'LanguageMode::kStrict';
const sloppy: constexpr LanguageMode = 'LanguageMode::kSloppy';
extern macro Print(Object);
extern macro DebugBreak();
......@@ -117,7 +105,7 @@ extern macro ThrowRangeError(Context, MessageTemplate): never;
extern macro ThrowTypeError(Context, MessageTemplate): never;
extern macro ThrowTypeError(Context, MessageTemplate, Object): never;
extern macro ArraySpeciesCreate(Context, Object, Number): Object;
extern macro EnsureArrayPushable(Map): int32 labels Bailout;
extern macro EnsureArrayPushable(Map): ElementsKind labels Bailout;
extern builtin ToObject(Context, Object): Object;
......@@ -127,30 +115,30 @@ extern runtime DeleteProperty(Context, Object, Object, LanguageMode);
extern runtime StringEqual(Context, String, String): Oddball;
extern operator '==' macro Word32Equal(int32, int32): bit;
extern operator '!=' macro Word32NotEqual(int32, int32): bit;
extern operator '<' macro Int32LessThan(int32, int32): bit;
extern operator '>' macro Int32GreaterThan(int32, int32): bit;
extern operator '<=' macro Int32LessThanOrEqual(int32, int32): bit;
extern operator '>=' macro Int32GreaterThanOrEqual(int32, int32): bit;
extern operator '==' macro Word32Equal(int32, int32): bool;
extern operator '!=' macro Word32NotEqual(int32, int32): bool;
extern operator '<' macro Int32LessThan(int32, int32): bool;
extern operator '>' macro Int32GreaterThan(int32, int32): bool;
extern operator '<=' macro Int32LessThanOrEqual(int32, int32): bool;
extern operator '>=' macro Int32GreaterThanOrEqual(int32, int32): bool;
extern operator '==' macro SmiEqual(Smi, Smi): bit;
extern operator '!=' macro SmiNotEqual(Smi, Smi): bit;
extern operator '<' macro SmiLessThan(Smi, Smi): bit;
extern operator '<=' macro SmiLessThanOrEqual(Smi, Smi): bit;
extern operator '>' macro SmiGreaterThan(Smi, Smi): bit;
extern operator '>=' macro SmiGreaterThanOrEqual(Smi, Smi): bit;
extern operator '==' macro SmiEqual(Smi, Smi): bool;
extern operator '!=' macro SmiNotEqual(Smi, Smi): bool;
extern operator '<' macro SmiLessThan(Smi, Smi): bool;
extern operator '<=' macro SmiLessThanOrEqual(Smi, Smi): bool;
extern operator '>' macro SmiGreaterThan(Smi, Smi): bool;
extern operator '>=' macro SmiGreaterThanOrEqual(Smi, Smi): bool;
extern macro SmiAbove(Smi, Smi): bit;
extern macro SmiAbove(Smi, Smi): bool;
extern operator '==' macro WordEqual(intptr, intptr): bit;
extern operator '!=' macro WordNotEqual(intptr, intptr): bit;
extern operator '<' macro IntPtrLessThan(intptr, intptr): bit;
extern operator '>' macro IntPtrGreaterThan(intptr, intptr): bit;
extern operator '<=' macro IntPtrLessThanOrEqual(intptr, intptr): bit;
extern operator '>=' macro IntPtrGreaterThanOrEqual(intptr, intptr): bit;
extern operator '==' macro WordEqual(intptr, intptr): bool;
extern operator '!=' macro WordNotEqual(intptr, intptr): bool;
extern operator '<' macro IntPtrLessThan(intptr, intptr): bool;
extern operator '>' macro IntPtrGreaterThan(intptr, intptr): bool;
extern operator '<=' macro IntPtrLessThanOrEqual(intptr, intptr): bool;
extern operator '>=' macro IntPtrGreaterThanOrEqual(intptr, intptr): bool;
extern operator '==' macro Float64Equal(float64, float64): bit;
extern operator '==' macro Float64Equal(float64, float64): bool;
extern operator
'<' macro BranchIfNumberLessThan(Number, Number): never labels True, False;
......@@ -163,12 +151,12 @@ extern operator '>=' macro BranchIfNumberGreaterThanOrEqual(Number, Number):
never labels True,
False;
extern operator '==' macro WordEqual(Object, Object): bit;
extern operator '!=' macro WordNotEqual(Object, Object): bit;
extern operator '==' macro WordEqual(Object, Object): bool;
extern operator '!=' macro WordNotEqual(Object, Object): bool;
extern operator '+' macro SmiAdd(Smi, Smi): Smi;
extern operator '-' macro SmiSub(Smi, Smi): Smi;
extern operator '>>>' macro SmiShr(Smi, const_int31): Smi;
extern operator '>>>' macro SmiShr(Smi, constexpr int31): Smi;
extern operator '+' macro IntPtrAdd(intptr, intptr): intptr;
extern operator '-' macro IntPtrSub(intptr, intptr): intptr;
......@@ -179,7 +167,7 @@ extern operator '-' macro NumberSub(Number, Number): Number;
extern operator 'min' macro NumberMin(Number, Number): Number;
extern operator 'max' macro NumberMax(Number, Number): Number;
extern operator '!' macro Word32BinaryNot(bit): bit;
extern operator '!' macro Word32BinaryNot(bool): bool;
extern operator '.map' macro LoadMap(Object): Map;
extern operator '.map=' macro StoreMap(Object, Map);
......@@ -191,8 +179,8 @@ extern operator '.length' macro GetArgumentsLength(Arguments): intptr;
extern operator '[]' macro GetArgumentValue(Arguments, intptr): Object;
extern operator '[]' macro GetArgumentValueSmiIndex(Arguments, Smi): Object;
extern operator 'is<Smi>' macro TaggedIsSmi(Object): bit;
extern operator 'isnt<Smi>' macro TaggedIsNotSmi(Object): bit;
extern operator 'is<Smi>' macro TaggedIsSmi(Object): bool;
extern operator 'isnt<Smi>' macro TaggedIsNotSmi(Object): bool;
extern operator
'cast<>' macro TaggedToHeapObject(Object): HeapObject labels CastError;
......@@ -207,11 +195,19 @@ extern operator 'cast<>' macro ConvertFixedArrayBaseToFixedDoubleArray(
FixedArrayBase): FixedDoubleArray labels CastError;
extern implicit operator
'convert<>' macro AllocateHeapNumberWithValue(const_float64): Number;
extern implicit operator 'convert<>' macro IntPtrConstant(const_int31): intptr;
extern implicit operator 'convert<>' macro Int32Constant(const_int31): int32;
extern implicit operator 'convert<>' macro SmiConstant(const_int31): Smi;
extern implicit operator 'convert<>' macro NumberConstant(const_int31): Number;
'convert<>' macro AllocateHeapNumberWithValue(constexpr float64): Number;
extern implicit operator
'convert<>' macro IntPtrConstant(constexpr int31): intptr;
extern implicit operator
'convert<>' macro Int32Constant(constexpr int31): int32;
extern implicit operator 'convert<>' macro SmiConstant(constexpr int31): Smi;
extern implicit operator
'convert<>' macro NumberConstant(constexpr int31): Number;
extern implicit operator 'convert<>' macro BoolConstant(constexpr bool): bool;
extern implicit operator 'convert<>' macro LanguageModeConstant(
constexpr LanguageMode): LanguageMode;
extern implicit operator 'convert<>' macro SmiFromInt32(ElementsKind): Smi;
extern operator 'convert<>' macro ChangeInt32ToTagged(int32): Number;
extern operator 'convert<>' macro TruncateWordToWord32(intptr): int32;
......@@ -219,23 +215,23 @@ extern operator 'convert<>' macro SmiTag(intptr): Smi;
extern operator 'convert<>' macro SmiFromInt32(int32): Smi;
extern operator 'convert<>' macro SmiUntag(Smi): intptr;
extern macro BranchIfFastJSArray(Object, Context): never labels True, False;
extern macro BranchIfNotFastJSArray(Object, Context): never labels True, False;
extern macro IsPrototypeInitialArrayPrototype(Context, Map): bit;
extern macro IsNoElementsProtectorCellInvalid(): bit;
extern macro IsArraySpeciesProtectorCellInvalid(): bit;
extern macro IsTypedArraySpeciesProtectorCellInvalid(): bit;
extern macro IsPromiseSpeciesProtectorCellInvalid(): bit;
extern macro IsPrototypeInitialArrayPrototype(Context, Map): bool;
extern macro IsNoElementsProtectorCellInvalid(): bool;
extern macro IsArraySpeciesProtectorCellInvalid(): bool;
extern macro IsTypedArraySpeciesProtectorCellInvalid(): bool;
extern macro IsPromiseSpeciesProtectorCellInvalid(): bool;
extern operator
'.buffer' macro LoadTypedArrayBuffer(JSTypedArray): JSArrayBuffer;
'.buffer' macro LoadTypedArrayBuffer(JSTypedArray): JSArrayBuffer;
extern operator '.data_ptr' macro LoadDataPtr(JSTypedArray): RawPtr;
extern operator '.elements_kind' macro LoadMapElementsKind(Map): int32;
extern operator '.elements_kind' macro LoadElementsKind(JSTypedArray): int32;
extern operator '.elements_kind' macro LoadMapElementsKind(Map): ElementsKind;
extern operator
'.elements_kind' macro LoadElementsKind(JSTypedArray): ElementsKind;
extern operator '.elements' macro LoadElements(Object): FixedArrayBase;
extern operator '.elements=' macro StoreElements(Object, FixedArrayBase);
......@@ -252,26 +248,27 @@ extern operator
extern operator
'[]=' macro StoreFixedArrayElementSmi(FixedArray, Smi, Object): void;
extern macro IsFastElementsKind(int32): bit;
extern macro IsFastSmiOrTaggedElementsKind(int32): bit;
extern macro IsFastSmiElementsKind(int32): bit;
extern macro IsFastElementsKind(ElementsKind): bool;
extern macro IsFastSmiOrTaggedElementsKind(ElementsKind): bool;
extern macro IsFastSmiElementsKind(ElementsKind): bool;
extern macro AllocateFixedArray(ElementsKind, Smi): FixedArray;
extern macro AllocateFixedArray(ElementsKind, Smi, Map): FixedArray;
extern macro AllocateFixedArray(constexpr ElementsKind, Smi): FixedArray;
extern macro AllocateFixedArray(constexpr ElementsKind, Smi, Map): FixedArray;
extern macro CopyFixedArrayElements(
ElementsKind, FixedArray, ElementsKind, FixedArray, intptr, intptr,
intptr): void;
constexpr ElementsKind, FixedArray, constexpr ElementsKind, FixedArray,
intptr, intptr, intptr): void;
extern macro CopyFixedArrayElements(
ElementsKind, FixedArray, ElementsKind, FixedArray, Smi, Smi, Smi): void;
constexpr ElementsKind, FixedArray, constexpr ElementsKind, FixedArray, Smi,
Smi, Smi): void;
extern macro AllocateJSArray(ElementsKind, Map, intptr, Smi): JSArray;
extern macro AllocateJSArray(ElementsKind, Map, Smi, Smi): JSArray;
extern macro AllocateJSArray(constexpr ElementsKind, Map, intptr, Smi): JSArray;
extern macro AllocateJSArray(constexpr ElementsKind, Map, Smi, Smi): JSArray;
extern macro Call(Context, Callable, Object, ...): Object;
extern macro ExtractFixedArray(
FixedArray, Smi, Smi, Smi, ExtractFixedArrayFlags): FixedArray;
FixedArray, Smi, Smi, Smi, constexpr ExtractFixedArrayFlags): FixedArray;
extern builtin ExtractFastJSArray(Context, JSArray, Smi, Smi): JSArray;
......@@ -285,6 +282,6 @@ macro HasPropertyObject(
}
}
extern macro IsCallable(HeapObject): bit;
extern macro TaggedIsCallable(Object): bit;
extern macro IsDetachedBuffer(JSArrayBuffer): bit;
extern macro IsCallable(HeapObject): bool;
extern macro TaggedIsCallable(Object): bool;
extern macro IsDetachedBuffer(JSArrayBuffer): bool;
......@@ -14,7 +14,7 @@ module typed_array {
extern builtin TypedArrayStoreElementFromTagged(
Context, JSTypedArray, Smi, Smi, Object);
extern macro NumberIsNaN(Number): bit;
extern macro NumberIsNaN(Number): bool;
macro CallCompareWithDetachedCheck(
context: Context, array: JSTypedArray, comparefn: Callable, a: Object,
......@@ -164,7 +164,7 @@ module typed_array {
Store(context, array, kind, low_end, element);
low_end++;
} else if (order > 0) {
let break_for: bit = no;
let break_for: bool = no;
while (order > 0) {
high_start--;
......
......@@ -223,6 +223,12 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
TNode<Int32T> HashSeed();
Node* IntPtrOrSmiConstant(int value, ParameterMode mode);
TNode<BoolT> BoolConstant(bool value) {
return value ? Int32TrueConstant() : Int32FalseConstant();
}
TNode<Smi> LanguageModeConstant(LanguageMode mode) {
return SmiConstant(static_cast<int>(mode));
}
bool IsIntPtrOrSmiConstantZero(Node* test, ParameterMode mode);
bool TryGetIntPtrOrSmiConstantValue(Node* maybe_constant, int* value,
......
......@@ -22,6 +22,7 @@ CONVERT_KEYWORD: 'convert';
FOR: 'for';
WHILE: 'while';
RETURN: 'return';
CONSTEXPR: 'constexpr';
CONTINUE: 'continue';
BREAK: 'break';
GOTO: 'goto';
......@@ -81,7 +82,7 @@ DECREMENT: '--';
NOT: '!';
STRING_LITERAL : ('"' ( ESCAPE | ~('"' | '\\' | '\n' | '\r') ) * '"')
| ('\'' ( ESCAPE | ~('"' | '\\' | '\n' | '\r') ) * '\'');
| ('\'' ( ESCAPE | ~('\'' | '\\' | '\n' | '\r') ) * '\'');
fragment ESCAPE : '\\' ( '\'' | '\\' | '"' );
IDENTIFIER : [A-Za-z][0-9A-Za-z_]* ;
......@@ -115,7 +116,7 @@ DECIMAL_LITERAL
| MINUS? DECIMAL_INTEGER_LITERAL EXPONENT_PART?
;
type : IDENTIFIER;
type : CONSTEXPR? IDENTIFIER;
typeList : '(' type? (',' type)* ')';
typeListMaybeVarArgs: '(' type? (',' type)* (',' VARARGS)? ')'
......@@ -225,7 +226,7 @@ variableDeclaration: LET IDENTIFIER ':' type;
variableDeclarationWithInitialization: variableDeclaration ('=' expression)?;
helperCallStatement: (TAIL)? helperCall;
expressionStatement: assignment;
ifStatement: IF '(' expression ')' statementBlock ('else' statementBlock)?;
ifStatement: IF CONSTEXPR? '(' expression ')' statementBlock ('else' statementBlock)?;
whileLoop: WHILE '(' expression ')' statementBlock;
returnStatement: RETURN expression?;
breakStatement: BREAK;
......@@ -259,9 +260,10 @@ statementBlock
helperBody : statementScope;
generatesDeclaration: 'generates' STRING_LITERAL;
extendsDeclaration: 'extends' IDENTIFIER;
typeDeclaration : 'type' IDENTIFIER extendsDeclaration? generatesDeclaration? ';';
generatesDeclaration: 'generates' STRING_LITERAL;
constexprDeclaration: 'constexpr' STRING_LITERAL;
typeDeclaration : 'type' IDENTIFIER extendsDeclaration? generatesDeclaration? constexprDeclaration?';';
externalBuiltin : 'extern' JAVASCRIPT? BUILTIN IDENTIFIER typeList optionalType ';';
externalMacro : 'extern' (IMPLICIT? 'operator' STRING_LITERAL)? MACRO IDENTIFIER typeListMaybeVarArgs optionalType optionalLabelList ';';
......
......@@ -251,15 +251,20 @@ class TorqueBaseListener : public TorqueListener {
void enterHelperBody(TorqueParser::HelperBodyContext* /*ctx*/) override {}
void exitHelperBody(TorqueParser::HelperBodyContext* /*ctx*/) override {}
void enterExtendsDeclaration(
TorqueParser::ExtendsDeclarationContext* /*ctx*/) override {}
void exitExtendsDeclaration(
TorqueParser::ExtendsDeclarationContext* /*ctx*/) override {}
void enterGeneratesDeclaration(
TorqueParser::GeneratesDeclarationContext* /*ctx*/) override {}
void exitGeneratesDeclaration(
TorqueParser::GeneratesDeclarationContext* /*ctx*/) override {}
void enterExtendsDeclaration(
TorqueParser::ExtendsDeclarationContext* /*ctx*/) override {}
void exitExtendsDeclaration(
TorqueParser::ExtendsDeclarationContext* /*ctx*/) override {}
void enterConstexprDeclaration(
TorqueParser::ConstexprDeclarationContext* /*ctx*/) override {}
void exitConstexprDeclaration(
TorqueParser::ConstexprDeclarationContext* /*ctx*/) override {}
void enterTypeDeclaration(
TorqueParser::TypeDeclarationContext* /*ctx*/) override {}
......
......@@ -270,13 +270,18 @@ class TorqueBaseVisitor : public TorqueVisitor {
return visitChildren(ctx);
}
antlrcpp::Any visitExtendsDeclaration(
TorqueParser::ExtendsDeclarationContext* ctx) override {
return visitChildren(ctx);
}
antlrcpp::Any visitGeneratesDeclaration(
TorqueParser::GeneratesDeclarationContext* ctx) override {
return visitChildren(ctx);
}
antlrcpp::Any visitExtendsDeclaration(
TorqueParser::ExtendsDeclarationContext* ctx) override {
antlrcpp::Any visitConstexprDeclaration(
TorqueParser::ConstexprDeclarationContext* ctx) override {
return visitChildren(ctx);
}
......
......@@ -83,6 +83,7 @@ std::vector<std::string> TorqueLexer::_ruleNames = {u8"T__0",
u8"FOR",
u8"WHILE",
u8"RETURN",
u8"CONSTEXPR",
u8"CONTINUE",
u8"BREAK",
u8"GOTO",
......@@ -156,8 +157,8 @@ std::vector<std::string> TorqueLexer::_literalNames = {"",
u8"'else'",
u8"'{'",
u8"'}'",
u8"'generates'",
u8"'extends'",
u8"'generates'",
u8"'type'",
u8"'extern'",
u8"'operator'",
......@@ -175,6 +176,7 @@ std::vector<std::string> TorqueLexer::_literalNames = {"",
u8"'for'",
u8"'while'",
u8"'return'",
u8"'constexpr'",
u8"'continue'",
u8"'break'",
u8"'goto'",
......@@ -253,6 +255,7 @@ std::vector<std::string> TorqueLexer::_symbolicNames = {
u8"FOR",
u8"WHILE",
u8"RETURN",
u8"CONSTEXPR",
u8"CONTINUE",
u8"BREAK",
u8"GOTO",
......@@ -323,7 +326,7 @@ TorqueLexer::Initializer::Initializer() {
_serializedATN = {
0x3, 0x608b, 0xa72a, 0x8133, 0xb9ed, 0x417c, 0x3be7, 0x7786, 0x5964,
0x2, 0x53, 0x290, 0x8, 0x1, 0x4, 0x2, 0x9, 0x2,
0x2, 0x54, 0x29c, 0x8, 0x1, 0x4, 0x2, 0x9, 0x2,
0x4, 0x3, 0x9, 0x3, 0x4, 0x4, 0x9, 0x4, 0x4,
0x5, 0x9, 0x5, 0x4, 0x6, 0x9, 0x6, 0x4, 0x7,
0x9, 0x7, 0x4, 0x8, 0x9, 0x8, 0x4, 0x9, 0x9,
......@@ -361,145 +364,149 @@ TorqueLexer::Initializer::Initializer() {
0x9, 0x4f, 0x4, 0x50, 0x9, 0x50, 0x4, 0x51, 0x9,
0x51, 0x4, 0x52, 0x9, 0x52, 0x4, 0x53, 0x9, 0x53,
0x4, 0x54, 0x9, 0x54, 0x4, 0x55, 0x9, 0x55, 0x4,
0x56, 0x9, 0x56, 0x3, 0x2, 0x3, 0x2, 0x3, 0x3,
0x3, 0x3, 0x3, 0x4, 0x3, 0x4, 0x3, 0x5, 0x3,
0x5, 0x3, 0x6, 0x3, 0x6, 0x3, 0x7, 0x3, 0x7,
0x3, 0x7, 0x3, 0x8, 0x3, 0x8, 0x3, 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7, 0x51, 0x242, 0xa, 0x51, 0xc,
0x51, 0xe, 0x51, 0x245, 0xb, 0x51, 0x3, 0x51, 0x3,
0x51, 0x3, 0x51, 0x5, 0x51, 0x24a, 0xa, 0x51, 0x3,
0x51, 0x3, 0x51, 0x3, 0x52, 0x3, 0x52, 0x3, 0x52,
0x3, 0x52, 0x7, 0x52, 0x252, 0xa, 0x52, 0xc, 0x52,
0xe, 0x52, 0x255, 0xb, 0x52, 0x3, 0x52, 0x3, 0x52,
0x3, 0x53, 0x3, 0x53, 0x3, 0x54, 0x3, 0x54, 0x3,
0x54, 0x7, 0x54, 0x25e, 0xa, 0x54, 0xc, 0x54, 0xe,
0x54, 0x261, 0xb, 0x54, 0x5, 0x54, 0x263, 0xa, 0x54,
0x3, 0x55, 0x3, 0x55, 0x5, 0x55, 0x267, 0xa, 0x55,
0x3, 0x55, 0x6, 0x55, 0x26a, 0xa, 0x55, 0xd, 0x55,
0xe, 0x55, 0x26b, 0x3, 0x56, 0x5, 0x56, 0x26f, 0xa,
0x56, 0x3, 0x56, 0x3, 0x56, 0x3, 0x56, 0x7, 0x56,
0x274, 0xa, 0x56, 0xc, 0x56, 0xe, 0x56, 0x277, 0xb,
0x56, 0x3, 0x56, 0x5, 0x56, 0x27a, 0xa, 0x56, 0x3,
0x56, 0x5, 0x56, 0x27d, 0xa, 0x56, 0x3, 0x56, 0x3,
0x56, 0x6, 0x56, 0x281, 0xa, 0x56, 0xd, 0x56, 0xe,
0x56, 0x282, 0x3, 0x56, 0x5, 0x56, 0x286, 0xa, 0x56,
0x3, 0x56, 0x5, 0x56, 0x289, 0xa, 0x56, 0x3, 0x56,
0x3, 0x56, 0x5, 0x56, 0x28d, 0xa, 0x56, 0x5, 0x56,
0x28f, 0xa, 0x56, 0x3, 0x243, 0x2, 0x57, 0x3, 0x3,
0x5, 0x4, 0x7, 0x5, 0x9, 0x6, 0xb, 0x7, 0xd,
0x8, 0xf, 0x9, 0x11, 0xa, 0x13, 0xb, 0x15, 0x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0x3, 0x4e, 0x3, 0x4e, 0x3, 0x4e, 0x7, 0x4e,
0x231, 0xa, 0x4e, 0xc, 0x4e, 0xe, 0x4e, 0x234, 0xb,
0x4e, 0x3, 0x4e, 0x5, 0x4e, 0x237, 0xa, 0x4e, 0x3,
0x4f, 0x3, 0x4f, 0x3, 0x4f, 0x3, 0x50, 0x3, 0x50,
0x7, 0x50, 0x23e, 0xa, 0x50, 0xc, 0x50, 0xe, 0x50,
0x241, 0xb, 0x50, 0x3, 0x51, 0x6, 0x51, 0x244, 0xa,
0x51, 0xd, 0x51, 0xe, 0x51, 0x245, 0x3, 0x51, 0x3,
0x51, 0x3, 0x52, 0x3, 0x52, 0x3, 0x52, 0x3, 0x52,
0x7, 0x52, 0x24e, 0xa, 0x52, 0xc, 0x52, 0xe, 0x52,
0x251, 0xb, 0x52, 0x3, 0x52, 0x3, 0x52, 0x3, 0x52,
0x5, 0x52, 0x256, 0xa, 0x52, 0x3, 0x52, 0x3, 0x52,
0x3, 0x53, 0x3, 0x53, 0x3, 0x53, 0x3, 0x53, 0x7,
0x53, 0x25e, 0xa, 0x53, 0xc, 0x53, 0xe, 0x53, 0x261,
0xb, 0x53, 0x3, 0x53, 0x3, 0x53, 0x3, 0x54, 0x3,
0x54, 0x3, 0x55, 0x3, 0x55, 0x3, 0x55, 0x7, 0x55,
0x26a, 0xa, 0x55, 0xc, 0x55, 0xe, 0x55, 0x26d, 0xb,
0x55, 0x5, 0x55, 0x26f, 0xa, 0x55, 0x3, 0x56, 0x3,
0x56, 0x5, 0x56, 0x273, 0xa, 0x56, 0x3, 0x56, 0x6,
0x56, 0x276, 0xa, 0x56, 0xd, 0x56, 0xe, 0x56, 0x277,
0x3, 0x57, 0x5, 0x57, 0x27b, 0xa, 0x57, 0x3, 0x57,
0x3, 0x57, 0x3, 0x57, 0x7, 0x57, 0x280, 0xa, 0x57,
0xc, 0x57, 0xe, 0x57, 0x283, 0xb, 0x57, 0x3, 0x57,
0x5, 0x57, 0x286, 0xa, 0x57, 0x3, 0x57, 0x5, 0x57,
0x289, 0xa, 0x57, 0x3, 0x57, 0x3, 0x57, 0x6, 0x57,
0x28d, 0xa, 0x57, 0xd, 0x57, 0xe, 0x57, 0x28e, 0x3,
0x57, 0x5, 0x57, 0x292, 0xa, 0x57, 0x3, 0x57, 0x5,
0x57, 0x295, 0xa, 0x57, 0x3, 0x57, 0x3, 0x57, 0x5,
0x57, 0x299, 0xa, 0x57, 0x5, 0x57, 0x29b, 0xa, 0x57,
0x3, 0x24f, 0x2, 0x58, 0x3, 0x3, 0x5, 0x4, 0x7,
0x5, 0x9, 0x6, 0xb, 0x7, 0xd, 0x8, 0xf, 0x9,
0x11, 0xa, 0x13, 0xb, 0x15, 0xc, 0x17, 0xd, 0x19,
0xe, 0x1b, 0xf, 0x1d, 0x10, 0x1f, 0x11, 0x21, 0x12,
0x23, 0x13, 0x25, 0x14, 0x27, 0x15, 0x29, 0x16, 0x2b,
0x17, 0x2d, 0x18, 0x2f, 0x19, 0x31, 0x1a, 0x33, 0x1b,
0x35, 0x1c, 0x37, 0x1d, 0x39, 0x1e, 0x3b, 0x1f, 0x3d,
0x20, 0x3f, 0x21, 0x41, 0x22, 0x43, 0x23, 0x45, 0x24,
0x47, 0x25, 0x49, 0x26, 0x4b, 0x27, 0x4d, 0x28, 0x4f,
0x29, 0x51, 0x2a, 0x53, 0x2b, 0x55, 0x2c, 0x57, 0x2d,
0x59, 0x2e, 0x5b, 0x2f, 0x5d, 0x30, 0x5f, 0x31, 0x61,
0x32, 0x63, 0x33, 0x65, 0x34, 0x67, 0x35, 0x69, 0x36,
0x6b, 0x37, 0x6d, 0x38, 0x6f, 0x39, 0x71, 0x3a, 0x73,
0x3b, 0x75, 0x3c, 0x77, 0x3d, 0x79, 0x3e, 0x7b, 0x3f,
0x7d, 0x40, 0x7f, 0x41, 0x81, 0x42, 0x83, 0x43, 0x85,
0x44, 0x87, 0x45, 0x89, 0x46, 0x8b, 0x47, 0x8d, 0x48,
0x8f, 0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, 0x109, 0x7, 0x6b, 0x2, 0x2, 0x109, 0x10a,
0x7, 0x6e, 0x2, 0x2, 0x10a, 0x10b, 0x7, 0x76, 0x2,
0x2, 0x10b, 0x10c, 0x7, 0x6b, 0x2, 0x2, 0x10c, 0x10d,
0x7, 0x70, 0x2, 0x2, 0x10d, 0x30, 0x3, 0x2, 0x2,
0x2, 0x10e, 0x10f, 0x7, 0x74, 0x2, 0x2, 0x10f, 0x110,
0x7, 0x77, 0x2, 0x2, 0x110, 0x111, 0x7, 0x70, 0x2,
0x2, 0x111, 0x112, 0x7, 0x76, 0x2, 0x2, 0x112, 0x113,
0x7, 0x6b, 0x2, 0x2, 0x113, 0x114, 0x7, 0x6f, 0x2,
0x2, 0x114, 0x115, 0x7, 0x67, 0x2, 0x2, 0x115, 0x32,
0x3, 0x2, 0x2, 0x2, 0x116, 0x117, 0x7, 0x6f, 0x2,
0x2, 0x117, 0x118, 0x7, 0x71, 0x2, 0x2, 0x118, 0x119,
0x7, 0x66, 0x2, 0x2, 0x119, 0x11a, 0x7, 0x77, 0x2,
0x2, 0x11a, 0x11b, 0x7, 0x6e, 0x2, 0x2, 0x11b, 0x11c,
0x7, 0x67, 0x2, 0x2, 0x11c, 0x34, 0x3, 0x2, 0x2,
0x2, 0x11d, 0x11e, 0x7, 0x6c, 0x2, 0x2, 0x11e, 0x11f,
0x7, 0x63, 0x2, 0x2, 0x11f, 0x120, 0x7, 0x78, 0x2,
0x2, 0x120, 0x121, 0x7, 0x63, 0x2, 0x2, 0x121, 0x122,
0x7, 0x75, 0x2, 0x2, 0x122, 0x123, 0x7, 0x65, 0x2,
0x2, 0x123, 0x124, 0x7, 0x74, 0x2, 0x2, 0x124, 0x125,
0x7, 0x6b, 0x2, 0x2, 0x125, 0x126, 0x7, 0x72, 0x2,
0x2, 0x126, 0x127, 0x7, 0x76, 0x2, 0x2, 0x127, 0x36,
0x3, 0x2, 0x2, 0x2, 0x128, 0x129, 0x7, 0x6b, 0x2,
0x2, 0x129, 0x12a, 0x7, 0x6f, 0x2, 0x2, 0x12a, 0x12b,
0x7, 0x72, 0x2, 0x2, 0x12b, 0x12c, 0x7, 0x6e, 0x2,
0x2, 0x12c, 0x12d, 0x7, 0x6b, 0x2, 0x2, 0x12d, 0x12e,
0x7, 0x76, 0x2, 0x2, 0x12e, 0x38, 0x3, 0x2, 0x2,
0x2, 0x12f, 0x130, 0x7, 0x66, 0x2, 0x2, 0x130, 0x131,
0x7, 0x67, 0x2, 0x2, 0x131, 0x132, 0x7, 0x68, 0x2,
0x7, 0x65, 0x2, 0x2, 0x12e, 0x12f, 0x7, 0x6b, 0x2,
0x2, 0x12f, 0x130, 0x7, 0x76, 0x2, 0x2, 0x130, 0x38,
0x3, 0x2, 0x2, 0x2, 0x131, 0x132, 0x7, 0x66, 0x2,
0x2, 0x132, 0x133, 0x7, 0x67, 0x2, 0x2, 0x133, 0x134,
0x7, 0x74, 0x2, 0x2, 0x134, 0x135, 0x7, 0x74, 0x2,
0x2, 0x135, 0x136, 0x7, 0x67, 0x2, 0x2, 0x136, 0x137,
0x7, 0x66, 0x2, 0x2, 0x137, 0x3a, 0x3, 0x2, 0x2,
0x2, 0x138, 0x139, 0x7, 0x6b, 0x2, 0x2, 0x139, 0x13a,
0x7, 0x68, 0x2, 0x2, 0x13a, 0x3c, 0x3, 0x2, 0x2,
0x2, 0x13b, 0x13c, 0x7, 0x65, 0x2, 0x2, 0x13c, 0x13d,
0x7, 0x63, 0x2, 0x2, 0x13d, 0x13e, 0x7, 0x75, 0x2,
0x2, 0x13e, 0x13f, 0x7, 0x76, 0x2, 0x2, 0x13f, 0x3e,
0x3, 0x2, 0x2, 0x2, 0x140, 0x141, 0x7, 0x65, 0x2,
0x2, 0x141, 0x142, 0x7, 0x71, 0x2, 0x2, 0x142, 0x143,
0x7, 0x70, 0x2, 0x2, 0x143, 0x144, 0x7, 0x78, 0x2,
0x2, 0x144, 0x145, 0x7, 0x67, 0x2, 0x2, 0x145, 0x146,
0x7, 0x74, 0x2, 0x2, 0x146, 0x147, 0x7, 0x76, 0x2,
0x2, 0x147, 0x40, 0x3, 0x2, 0x2, 0x2, 0x148, 0x149,
0x7, 0x68, 0x2, 0x2, 0x149, 0x14a, 0x7, 0x71, 0x2,
0x2, 0x14a, 0x14b, 0x7, 0x74, 0x2, 0x2, 0x14b, 0x42,
0x3, 0x2, 0x2, 0x2, 0x14c, 0x14d, 0x7, 0x79, 0x2,
0x2, 0x14d, 0x14e, 0x7, 0x6a, 0x2, 0x2, 0x14e, 0x14f,
0x7, 0x6b, 0x2, 0x2, 0x14f, 0x150, 0x7, 0x6e, 0x2,
0x2, 0x150, 0x151, 0x7, 0x67, 0x2, 0x2, 0x151, 0x44,
0x3, 0x2, 0x2, 0x2, 0x152, 0x153, 0x7, 0x74, 0x2,
0x2, 0x153, 0x154, 0x7, 0x67, 0x2, 0x2, 0x154, 0x155,
0x7, 0x76, 0x2, 0x2, 0x155, 0x156, 0x7, 0x77, 0x2,
0x2, 0x156, 0x157, 0x7, 0x74, 0x2, 0x2, 0x157, 0x158,
0x7, 0x70, 0x2, 0x2, 0x158, 0x46, 0x3, 0x2, 0x2,
0x2, 0x159, 0x15a, 0x7, 0x65, 0x2, 0x2, 0x15a, 0x15b,
0x7, 0x71, 0x2, 0x2, 0x15b, 0x15c, 0x7, 0x70, 0x2,
0x2, 0x15c, 0x15d, 0x7, 0x76, 0x2, 0x2, 0x15d, 0x15e,
0x7, 0x6b, 0x2, 0x2, 0x15e, 0x15f, 0x7, 0x70, 0x2,
0x2, 0x15f, 0x160, 0x7, 0x77, 0x2, 0x2, 0x160, 0x161,
0x7, 0x67, 0x2, 0x2, 0x161, 0x48, 0x3, 0x2, 0x2,
0x2, 0x162, 0x163, 0x7, 0x64, 0x2, 0x2, 0x163, 0x164,
0x7, 0x74, 0x2, 0x2, 0x164, 0x165, 0x7, 0x67, 0x2,
0x2, 0x165, 0x166, 0x7, 0x63, 0x2, 0x2, 0x166, 0x167,
0x7, 0x6d, 0x2, 0x2, 0x167, 0x4a, 0x3, 0x2, 0x2,
0x2, 0x168, 0x169, 0x7, 0x69, 0x2, 0x2, 0x169, 0x16a,
0x7, 0x71, 0x2, 0x2, 0x16a, 0x16b, 0x7, 0x76, 0x2,
0x2, 0x16b, 0x16c, 0x7, 0x71, 0x2, 0x2, 0x16c, 0x4c,
0x3, 0x2, 0x2, 0x2, 0x16d, 0x16e, 0x7, 0x71, 0x2,
0x2, 0x16e, 0x16f, 0x7, 0x76, 0x2, 0x2, 0x16f, 0x170,
0x7, 0x6a, 0x2, 0x2, 0x170, 0x171, 0x7, 0x67, 0x2,
0x2, 0x171, 0x172, 0x7, 0x74, 0x2, 0x2, 0x172, 0x173,
0x7, 0x79, 0x2, 0x2, 0x173, 0x174, 0x7, 0x6b, 0x2,
0x2, 0x174, 0x175, 0x7, 0x75, 0x2, 0x2, 0x175, 0x176,
0x7, 0x67, 0x2, 0x2, 0x176, 0x4e, 0x3, 0x2, 0x2,
0x2, 0x177, 0x178, 0x7, 0x76, 0x2, 0x2, 0x178, 0x179,
0x7, 0x74, 0x2, 0x2, 0x179, 0x17a, 0x7, 0x7b, 0x2,
0x2, 0x17a, 0x50, 0x3, 0x2, 0x2, 0x2, 0x17b, 0x17c,
0x7, 0x65, 0x2, 0x2, 0x17c, 0x17d, 0x7, 0x63, 0x2,
0x2, 0x17d, 0x17e, 0x7, 0x76, 0x2, 0x2, 0x17e, 0x17f,
0x7, 0x65, 0x2, 0x2, 0x17f, 0x180, 0x7, 0x6a, 0x2,
0x2, 0x180, 0x52, 0x3, 0x2, 0x2, 0x2, 0x181, 0x182,
0x7, 0x6e, 0x2, 0x2, 0x182, 0x183, 0x7, 0x63, 0x2,
0x2, 0x183, 0x184, 0x7, 0x64, 0x2, 0x2, 0x184, 0x185,
0x7, 0x67, 0x2, 0x2, 0x185, 0x186, 0x7, 0x6e, 0x2,
0x2, 0x186, 0x54, 0x3, 0x2, 0x2, 0x2, 0x187, 0x188,
0x7, 0x6e, 0x2, 0x2,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, 0x21d,
0x7, 0x24, 0x2, 0x2, 0x219, 0x21c, 0x5, 0x9b, 0x4e,
0x2, 0x21a, 0x21c, 0xa, 0x2, 0x2, 0x2, 0x21b, 0x219,
0x3, 0x2, 0x2, 0x2, 0x21b, 0x21a, 0x3, 0x2, 0x2,
0x2, 0x21c, 0x21f, 0x3, 0x2, 0x2, 0x2, 0x21d, 0x21b,
0x3, 0x2, 0x2, 0x2, 0x21d, 0x21e, 0x3, 0x2, 0x2,
0x2, 0x21e, 0x220, 0x3, 0x2, 0x2, 0x2, 0x21f, 0x21d,
0x3, 0x2, 0x2, 0x2, 0x220, 0x22b, 0x7, 0x24, 0x2,
0x2, 0x221, 0x226, 0x7, 0x29, 0x2, 0x2, 0x222, 0x225,
0x5, 0x9b, 0x4e, 0x2, 0x223, 0x225, 0xa, 0x2, 0x2,
0x2, 0x224, 0x222, 0x3, 0x2, 0x2, 0x2, 0x224, 0x223,
0x3, 0x2, 0x2, 0x2, 0x225, 0x228, 0x3, 0x2, 0x2,
0x2, 0x226, 0x224, 0x3, 0x2, 0x2, 0x2, 0x226, 0x227,
0x3, 0x2, 0x2, 0x2, 0x227, 0x229, 0x3, 0x2, 0x2,
0x2, 0x228, 0x226, 0x3, 0x2, 0x2, 0x2, 0x229, 0x22b,
0x7, 0x29, 0x2, 0x2, 0x22a, 0x218, 0x3, 0x2, 0x2,
0x2, 0x22a, 0x221, 0x3, 0x2, 0x2, 0x2, 0x22b, 0x9a,
0x3, 0x2, 0x2, 0x2, 0x22c, 0x22d, 0x7, 0x5e, 0x2,
0x2, 0x22d, 0x22e, 0x9, 0x3, 0x2, 0x2, 0x22e, 0x9c,
0x3, 0x2, 0x2, 0x2, 0x22f, 0x233, 0x9, 0x4, 0x2,
0x2, 0x230, 0x232, 0x9, 0x5, 0x2, 0x2, 0x231, 0x230,
0x3, 0x2, 0x2, 0x2, 0x232, 0x235, 0x3, 0x2, 0x2,
0x2, 0x233, 0x231, 0x3, 0x2, 0x2, 0x2, 0x233, 0x234,
0x3, 0x2, 0x2, 0x2, 0x234, 0x9e, 0x3, 0x2, 0x2,
0x2, 0x235, 0x233, 0x3, 0x2, 0x2, 0x2, 0x236, 0x238,
0x9, 0x6, 0x2, 0x2, 0x237, 0x236, 0x3, 0x2, 0x2,
0x2, 0x238, 0x239, 0x3, 0x2, 0x2, 0x2, 0x239, 0x237,
0x3, 0x2, 0x2, 0x2, 0x239, 0x23a, 0x3, 0x2, 0x2,
0x2, 0x23a, 0x23b, 0x3, 0x2, 0x2, 0x2, 0x23b, 0x23c,
0x8, 0x50, 0x2, 0x2, 0x23c, 0xa0, 0x3, 0x2, 0x2,
0x2, 0x23d, 0x23e, 0x7, 0x31, 0x2, 0x2, 0x23e, 0x23f,
0x7, 0x2c, 0x2, 0x2, 0x23f, 0x243, 0x3, 0x2, 0x2,
0x2, 0x240, 0x242, 0xb, 0x2, 0x2, 0x2, 0x241, 0x240,
0x3, 0x2, 0x2, 0x2, 0x242, 0x245, 0x3, 0x2, 0x2,
0x2, 0x243, 0x244, 0x3, 0x2, 0x2, 0x2, 0x243, 0x241,
0x3, 0x2, 0x2, 0x2, 0x244, 0x249, 0x3, 0x2, 0x2,
0x2, 0x245, 0x243, 0x3, 0x2, 0x2, 0x2, 0x246, 0x247,
0x7, 0x2c, 0x2, 0x2, 0x247, 0x24a, 0x7, 0x31, 0x2,
0x2, 0x248, 0x24a, 0x7, 0x2, 0x2, 0x3, 0x249, 0x246,
0x3, 0x2, 0x2, 0x2, 0x249, 0x248, 0x3, 0x2, 0x2,
0x2, 0x24a, 0x24b, 0x3, 0x2, 0x2, 0x2, 0x24b, 0x24c,
0x8, 0x51, 0x2, 0x2, 0x24c, 0xa2, 0x3, 0x2, 0x2,
0x2, 0x24d, 0x24e, 0x7, 0x31, 0x2, 0x2, 0x24e, 0x24f,
0x7, 0x31, 0x2, 0x2, 0x24f, 0x253, 0x3, 0x2, 0x2,
0x2, 0x250, 0x252, 0xa, 0x7, 0x2, 0x2, 0x251, 0x250,
0x3, 0x2, 0x2, 0x2, 0x252, 0x255, 0x3, 0x2, 0x2,
0x2, 0x253, 0x251, 0x3, 0x2, 0x2, 0x2, 0x253, 0x254,
0x3, 0x2, 0x2, 0x2, 0x254, 0x256, 0x3, 0x2, 0x2,
0x2, 0x255, 0x253, 0x3, 0x2, 0x2, 0x2, 0x256, 0x257,
0x8, 0x52, 0x2, 0x2, 0x257, 0xa4, 0x3, 0x2, 0x2,
0x2, 0x258, 0x259, 0x9, 0x8, 0x2, 0x2, 0x259, 0xa6,
0x3, 0x2, 0x2, 0x2, 0x25a, 0x263, 0x7, 0x32, 0x2,
0x2, 0x25b, 0x25f, 0x9, 0x9, 0x2, 0x2, 0x25c, 0x25e,
0x5, 0xa5, 0x53, 0x2, 0x25d, 0x25c, 0x3, 0x2, 0x2,
0x2, 0x25e, 0x261, 0x3, 0x2, 0x2, 0x2, 0x25f, 0x25d,
0x3, 0x2, 0x2, 0x2, 0x25f, 0x260, 0x3, 0x2, 0x2,
0x2, 0x260, 0x263, 0x3, 0x2, 0x2, 0x2, 0x261, 0x25f,
0x3, 0x2, 0x2, 0x2, 0x262, 0x25a, 0x3, 0x2, 0x2,
0x2, 0x262, 0x25b, 0x3, 0x2, 0x2, 0x2, 0x263, 0xa8,
0x3, 0x2, 0x2, 0x2, 0x264, 0x266, 0x9, 0xa, 0x2,
0x2, 0x265, 0x267, 0x9, 0xb, 0x2, 0x2, 0x266, 0x265,
0x3, 0x2, 0x2, 0x2, 0x266, 0x267, 0x3, 0x2, 0x2,
0x2, 0x267, 0x269, 0x3, 0x2, 0x2, 0x2, 0x268, 0x26a,
0x5, 0xa5, 0x53, 0x2, 0x269, 0x268, 0x3, 0x2, 0x2,
0x2, 0x26a, 0x26b, 0x3, 0x2, 0x2, 0x2, 0x26b, 0x269,
0x7, 0x68, 0x2, 0x2, 0x134, 0x135, 0x7, 0x67, 0x2,
0x2, 0x135, 0x136, 0x7, 0x74, 0x2, 0x2, 0x136, 0x137,
0x7, 0x74, 0x2, 0x2, 0x137, 0x138, 0x7, 0x67, 0x2,
0x2, 0x138, 0x139, 0x7, 0x66, 0x2, 0x2, 0x139, 0x3a,
0x3, 0x2, 0x2, 0x2, 0x13a, 0x13b, 0x7, 0x6b, 0x2,
0x2, 0x13b, 0x13c, 0x7, 0x68, 0x2, 0x2, 0x13c, 0x3c,
0x3, 0x2, 0x2, 0x2, 0x13d, 0x13e, 0x7, 0x65, 0x2,
0x2, 0x13e, 0x13f, 0x7, 0x63, 0x2, 0x2, 0x13f, 0x140,
0x7, 0x75, 0x2, 0x2, 0x140, 0x141, 0x7, 0x76, 0x2,
0x2, 0x141, 0x3e, 0x3, 0x2, 0x2, 0x2, 0x142, 0x143,
0x7, 0x65, 0x2, 0x2, 0x143, 0x144, 0x7, 0x71, 0x2,
0x2, 0x144, 0x145, 0x7, 0x70, 0x2, 0x2, 0x145, 0x146,
0x7, 0x78, 0x2, 0x2, 0x146, 0x147, 0x7, 0x67, 0x2,
0x2, 0x147, 0x148, 0x7, 0x74, 0x2, 0x2, 0x148, 0x149,
0x7, 0x76, 0x2, 0x2, 0x149, 0x40, 0x3, 0x2, 0x2,
0x2, 0x14a, 0x14b, 0x7, 0x68, 0x2, 0x2, 0x14b, 0x14c,
0x7, 0x71, 0x2, 0x2, 0x14c, 0x14d, 0x7, 0x74, 0x2,
0x2, 0x14d, 0x42, 0x3, 0x2, 0x2, 0x2, 0x14e, 0x14f,
0x7, 0x79, 0x2, 0x2, 0x14f, 0x150, 0x7, 0x6a, 0x2,
0x2, 0x150, 0x151, 0x7, 0x6b, 0x2, 0x2, 0x151, 0x152,
0x7, 0x6e, 0x2, 0x2, 0x152, 0x153, 0x7, 0x67, 0x2,
0x2, 0x153, 0x44, 0x3, 0x2, 0x2, 0x2, 0x154, 0x155,
0x7, 0x74, 0x2, 0x2, 0x155, 0x156, 0x7, 0x67, 0x2,
0x2, 0x156, 0x157, 0x7, 0x76, 0x2, 0x2, 0x157, 0x158,
0x7, 0x77, 0x2, 0x2, 0x158, 0x159, 0x7, 0x74, 0x2,
0x2, 0x159, 0x15a, 0x7, 0x70, 0x2, 0x2, 0x15a, 0x46,
0x3, 0x2, 0x2, 0x2, 0x15b, 0x15c, 0x7, 0x65, 0x2,
0x2, 0x15c, 0x15d, 0x7, 0x71, 0x2, 0x2, 0x15d, 0x15e,
0x7, 0x70, 0x2, 0x2, 0x15e, 0x15f, 0x7, 0x75, 0x2,
0x2, 0x15f, 0x160, 0x7, 0x76, 0x2, 0x2, 0x160, 0x161,
0x7, 0x67, 0x2, 0x2, 0x161, 0x162, 0x7, 0x7a, 0x2,
0x2, 0x162, 0x163, 0x7, 0x72, 0x2, 0x2, 0x163, 0x164,
0x7, 0x74, 0x2, 0x2, 0x164, 0x48, 0x3, 0x2, 0x2,
0x2, 0x165, 0x166, 0x7, 0x65, 0x2, 0x2, 0x166, 0x167,
0x7, 0x71, 0x2, 0x2, 0x167, 0x168, 0x7, 0x70, 0x2,
0x2, 0x168, 0x169, 0x7, 0x76, 0x2, 0x2, 0x169, 0x16a,
0x7, 0x6b, 0x2, 0x2, 0x16a, 0x16b, 0x7, 0x70, 0x2,
0x2, 0x16b, 0x16c, 0x7, 0x77, 0x2, 0x2, 0x16c, 0x16d,
0x7, 0x67, 0x2, 0x2, 0x16d, 0x4a, 0x3, 0x2, 0x2,
0x2, 0x16e, 0x16f, 0x7, 0x64, 0x2, 0x2, 0x16f, 0x170,
0x7, 0x74, 0x2, 0x2, 0x170, 0x171, 0x7, 0x67, 0x2,
0x2, 0x171, 0x172, 0x7, 0x63, 0x2, 0x2, 0x172, 0x173,
0x7, 0x6d, 0x2, 0x2, 0x173, 0x4c, 0x3, 0x2, 0x2,
0x2, 0x174, 0x175, 0x7, 0x69, 0x2, 0x2, 0x175, 0x176,
0x7, 0x71, 0x2, 0x2, 0x176, 0x177, 0x7, 0x76, 0x2,
0x2, 0x177, 0x178, 0x7, 0x71, 0x2, 0x2, 0x178, 0x4e,
0x3, 0x2, 0x2, 0x2, 0x179, 0x17a, 0x7, 0x71, 0x2,
0x2, 0x17a, 0x17b, 0x7, 0x76, 0x2, 0x2, 0x17b, 0x17c,
0x7, 0x6a, 0x2, 0x2, 0x17c, 0x17d, 0x7, 0x67, 0x2,
0x2, 0x17d, 0x17e, 0x7, 0x74, 0x2, 0x2, 0x17e, 0x17f,
0x7, 0x79, 0x2, 0x2, 0x17f, 0x180, 0x7, 0x6b, 0x2,
0x2, 0x180, 0x181, 0x7, 0x75, 0x2, 0x2, 0x181, 0x182,
0x7, 0x67, 0x2, 0x2, 0x182, 0x50, 0x3, 0x2, 0x2,
0x2, 0x183, 0x184, 0x7, 0x76, 0x2, 0x2, 0x184, 0x185,
0x7, 0x74, 0x2, 0x2, 0x185, 0x186, 0x7, 0x7b, 0x2,
0x2, 0x186, 0x52, 0x3, 0x2, 0x2, 0x2, 0x187, 0x188,
0x7, 0x65, 0x2, 0x2, 0x188, 0x189, 0x7, 0x63, 0x2,
0x2, 0x189, 0x18a, 0x7, 0x76, 0x2, 0x2, 0x18a, 0x18b,
0x7, 0x65, 0x2, 0x2, 0x18b, 0x18c, 0x7, 0x6a, 0x2,
0x2, 0x18c, 0x54, 0x3, 0x2, 0x2, 0x2, 0x18d, 0x18e,
0x7, 0x6e, 0x2, 0x2, 0x18e, 0x18f, 0x7, 0x63, 0x2,
0x2, 0x18f, 0x190, 0x7, 0x64, 0x2, 0x2, 0x190, 0x191,
0x7, 0x67, 0x2, 0x2, 0x191, 0x192, 0x7, 0x6e, 0x2,
0x2, 0x192, 0x56, 0x3, 0x2, 0x2, 0x2, 0x193, 0x194,
0x7, 0x6e, 0x2, 0x2, 0x194, 0x195, 0x7, 0x63, 0x2,
0x2, 0x195, 0x196, 0x7, 0x64, 0x2, 0x2, 0x196, 0x197,
0x7, 0x67, 0x2, 0x2, 0x197, 0x198, 0x7, 0x6e, 0x2,
0x2, 0x198, 0x199, 0x7, 0x75, 0x2, 0x2, 0x199, 0x58,
0x3, 0x2, 0x2, 0x2, 0x19a, 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x20b,
0x7, 0x3e, 0x2, 0x2, 0x20b, 0x20c, 0x7, 0x3e, 0x2,
0x2, 0x20c, 0x8c, 0x3, 0x2, 0x2, 0x2, 0x20d, 0x20e,
0x7, 0x40, 0x2, 0x2, 0x20e, 0x20f, 0x7, 0x40, 0x2,
0x2, 0x20f, 0x8e, 0x3, 0x2, 0x2, 0x2, 0x210, 0x211,
0x7, 0x40, 0x2, 0x2, 0x211, 0x212, 0x7, 0x40, 0x2,
0x2, 0x212, 0x213, 0x7, 0x40, 0x2, 0x2, 0x213, 0x90,
0x3, 0x2, 0x2, 0x2, 0x214, 0x215, 0x7, 0x30, 0x2,
0x2, 0x215, 0x216, 0x7, 0x30, 0x2, 0x2, 0x216, 0x217,
0x7, 0x30, 0x2, 0x2, 0x217, 0x92, 0x3, 0x2, 0x2,
0x2, 0x218, 0x21b, 0x5, 0x6b, 0x36, 0x2, 0x219, 0x21b,
0x5, 0x81, 0x41, 0x2, 0x21a, 0x218, 0x3, 0x2, 0x2,
0x2, 0x21a, 0x219, 0x3, 0x2, 0x2, 0x2, 0x21b, 0x94,
0x3, 0x2, 0x2, 0x2, 0x21c, 0x21d, 0x7, 0x2d, 0x2,
0x2, 0x21d, 0x21e, 0x7, 0x2d, 0x2, 0x2, 0x21e, 0x96,
0x3, 0x2, 0x2, 0x2, 0x21f, 0x220, 0x7, 0x2f, 0x2,
0x2, 0x220, 0x221, 0x7, 0x2f, 0x2, 0x2, 0x221, 0x98,
0x3, 0x2, 0x2, 0x2, 0x222, 0x223, 0x7, 0x23, 0x2,
0x2, 0x223, 0x9a, 0x3, 0x2, 0x2, 0x2, 0x224, 0x229,
0x7, 0x24, 0x2, 0x2, 0x225, 0x228, 0x5, 0x9d, 0x4f,
0x2, 0x226, 0x228, 0xa, 0x2, 0x2, 0x2, 0x227, 0x225,
0x3, 0x2, 0x2, 0x2, 0x227, 0x226, 0x3, 0x2, 0x2,
0x2, 0x228, 0x22b, 0x3, 0x2, 0x2, 0x2, 0x229, 0x227,
0x3, 0x2, 0x2, 0x2, 0x229, 0x22a, 0x3, 0x2, 0x2,
0x2, 0x22a, 0x22c, 0x3, 0x2, 0x2, 0x2, 0x22b, 0x229,
0x3, 0x2, 0x2, 0x2, 0x22c, 0x237, 0x7, 0x24, 0x2,
0x2, 0x22d, 0x232, 0x7, 0x29, 0x2, 0x2, 0x22e, 0x231,
0x5, 0x9d, 0x4f, 0x2, 0x22f, 0x231, 0xa, 0x3, 0x2,
0x2, 0x230, 0x22e, 0x3, 0x2, 0x2, 0x2, 0x230, 0x22f,
0x3, 0x2, 0x2, 0x2, 0x231, 0x234, 0x3, 0x2, 0x2,
0x2, 0x232, 0x230, 0x3, 0x2, 0x2, 0x2, 0x232, 0x233,
0x3, 0x2, 0x2, 0x2, 0x233, 0x235, 0x3, 0x2, 0x2,
0x2, 0x234, 0x232, 0x3, 0x2, 0x2, 0x2, 0x235, 0x237,
0x7, 0x29, 0x2, 0x2, 0x236, 0x224, 0x3, 0x2, 0x2,
0x2, 0x236, 0x22d, 0x3, 0x2, 0x2, 0x2, 0x237, 0x9c,
0x3, 0x2, 0x2, 0x2, 0x238, 0x239, 0x7, 0x5e, 0x2,
0x2, 0x239, 0x23a, 0x9, 0x4, 0x2, 0x2, 0x23a, 0x9e,
0x3, 0x2, 0x2, 0x2, 0x23b, 0x23f, 0x9, 0x5, 0x2,
0x2, 0x23c, 0x23e, 0x9, 0x6, 0x2, 0x2, 0x23d, 0x23c,
0x3, 0x2, 0x2, 0x2, 0x23e, 0x241, 0x3, 0x2, 0x2,
0x2, 0x23f, 0x23d, 0x3, 0x2, 0x2, 0x2, 0x23f, 0x240,
0x3, 0x2, 0x2, 0x2, 0x240, 0xa0, 0x3, 0x2, 0x2,
0x2, 0x241, 0x23f, 0x3, 0x2, 0x2, 0x2, 0x242, 0x244,
0x9, 0x7, 0x2, 0x2, 0x243, 0x242, 0x3, 0x2, 0x2,
0x2, 0x244, 0x245, 0x3, 0x2, 0x2, 0x2, 0x245, 0x243,
0x3, 0x2, 0x2, 0x2, 0x245, 0x246, 0x3, 0x2, 0x2,
0x2, 0x246, 0x247, 0x3, 0x2, 0x2, 0x2, 0x247, 0x248,
0x8, 0x51, 0x2, 0x2, 0x248, 0xa2, 0x3, 0x2, 0x2,
0x2, 0x249, 0x24a, 0x7, 0x31, 0x2, 0x2, 0x24a, 0x24b,
0x7, 0x2c, 0x2, 0x2, 0x24b, 0x24f, 0x3, 0x2, 0x2,
0x2, 0x24c, 0x24e, 0xb, 0x2, 0x2, 0x2, 0x24d, 0x24c,
0x3, 0x2, 0x2, 0x2, 0x24e, 0x251, 0x3, 0x2, 0x2,
0x2, 0x24f, 0x250, 0x3, 0x2, 0x2, 0x2, 0x24f, 0x24d,
0x3, 0x2, 0x2, 0x2, 0x250, 0x255, 0x3, 0x2, 0x2,
0x2, 0x251, 0x24f, 0x3, 0x2, 0x2, 0x2, 0x252, 0x253,
0x7, 0x2c, 0x2, 0x2, 0x253, 0x256, 0x7, 0x31, 0x2,
0x2, 0x254, 0x256, 0x7, 0x2, 0x2, 0x3, 0x255, 0x252,
0x3, 0x2, 0x2, 0x2, 0x255, 0x254, 0x3, 0x2, 0x2,
0x2, 0x256, 0x257, 0x3, 0x2, 0x2, 0x2, 0x257, 0x258,
0x8, 0x52, 0x2, 0x2, 0x258, 0xa4, 0x3, 0x2, 0x2,
0x2, 0x259, 0x25a, 0x7, 0x31, 0x2, 0x2, 0x25a, 0x25b,
0x7, 0x31, 0x2, 0x2, 0x25b, 0x25f, 0x3, 0x2, 0x2,
0x2, 0x25c, 0x25e, 0xa, 0x8, 0x2, 0x2, 0x25d, 0x25c,
0x3, 0x2, 0x2, 0x2, 0x25e, 0x261, 0x3, 0x2, 0x2,
0x2, 0x25f, 0x25d, 0x3, 0x2, 0x2, 0x2, 0x25f, 0x260,
0x3, 0x2, 0x2, 0x2, 0x260, 0x262, 0x3, 0x2, 0x2,
0x2, 0x261, 0x25f, 0x3, 0x2, 0x2, 0x2, 0x262, 0x263,
0x8, 0x53, 0x2, 0x2, 0x263, 0xa6, 0x3, 0x2, 0x2,
0x2, 0x264, 0x265, 0x9, 0x9, 0x2, 0x2, 0x265, 0xa8,
0x3, 0x2, 0x2, 0x2, 0x266, 0x26f, 0x7, 0x32, 0x2,
0x2, 0x267, 0x26b, 0x9, 0xa, 0x2, 0x2, 0x268, 0x26a,
0x5, 0xa7, 0x54, 0x2, 0x269, 0x268, 0x3, 0x2, 0x2,
0x2, 0x26a, 0x26d, 0x3, 0x2, 0x2, 0x2, 0x26b, 0x269,
0x3, 0x2, 0x2, 0x2, 0x26b, 0x26c, 0x3, 0x2, 0x2,
0x2, 0x26c, 0xaa, 0x3, 0x2, 0x2, 0x2, 0x26d, 0x26f,
0x5, 0x6d, 0x37, 0x2, 0x26e, 0x26d, 0x3, 0x2, 0x2,
0x2, 0x26e, 0x26f, 0x3, 0x2, 0x2, 0x2, 0x26f, 0x270,
0x3, 0x2, 0x2, 0x2, 0x270, 0x271, 0x5, 0xa7, 0x54,
0x2, 0x271, 0x275, 0x7, 0x30, 0x2, 0x2, 0x272, 0x274,
0x5, 0xa5, 0x53, 0x2, 0x273, 0x272, 0x3, 0x2, 0x2,
0x2, 0x274, 0x277, 0x3, 0x2, 0x2, 0x2, 0x275, 0x273,
0x3, 0x2, 0x2, 0x2, 0x275, 0x276, 0x3, 0x2, 0x2,
0x2, 0x276, 0x279, 0x3, 0x2, 0x2, 0x2, 0x277, 0x275,
0x3, 0x2, 0x2, 0x2, 0x278, 0x27a, 0x5, 0xa9, 0x55,
0x2, 0x279, 0x278, 0x3, 0x2, 0x2, 0x2, 0x279, 0x27a,
0x3, 0x2, 0x2, 0x2, 0x27a, 0x28f, 0x3, 0x2, 0x2,
0x2, 0x27b, 0x27d, 0x5, 0x6d, 0x37, 0x2, 0x27c, 0x27b,
0x3, 0x2, 0x2, 0x2, 0x27c, 0x27d, 0x3, 0x2, 0x2,
0x2, 0x27d, 0x27e, 0x3, 0x2, 0x2, 0x2, 0x27e, 0x280,
0x7, 0x30, 0x2, 0x2, 0x27f, 0x281, 0x5, 0xa5, 0x53,
0x2, 0x280, 0x27f, 0x3, 0x2, 0x2, 0x2, 0x281, 0x282,
0x3, 0x2, 0x2, 0x2, 0x282, 0x280, 0x3, 0x2, 0x2,
0x2, 0x282, 0x283, 0x3, 0x2, 0x2, 0x2, 0x283, 0x285,
0x3, 0x2, 0x2, 0x2, 0x284, 0x286, 0x5, 0xa9, 0x55,
0x2, 0x26c, 0x26f, 0x3, 0x2, 0x2, 0x2, 0x26d, 0x26b,
0x3, 0x2, 0x2, 0x2, 0x26e, 0x266, 0x3, 0x2, 0x2,
0x2, 0x26e, 0x267, 0x3, 0x2, 0x2, 0x2, 0x26f, 0xaa,
0x3, 0x2, 0x2, 0x2, 0x270, 0x272, 0x9, 0xb, 0x2,
0x2, 0x271, 0x273, 0x9, 0xc, 0x2, 0x2, 0x272, 0x271,
0x3, 0x2, 0x2, 0x2, 0x272, 0x273, 0x3, 0x2, 0x2,
0x2, 0x273, 0x275, 0x3, 0x2, 0x2, 0x2, 0x274, 0x276,
0x5, 0xa7, 0x54, 0x2, 0x275, 0x274, 0x3, 0x2, 0x2,
0x2, 0x276, 0x277, 0x3, 0x2, 0x2, 0x2, 0x277, 0x275,
0x3, 0x2, 0x2, 0x2, 0x277, 0x278, 0x3, 0x2, 0x2,
0x2, 0x278, 0xac, 0x3, 0x2, 0x2, 0x2, 0x279, 0x27b,
0x5, 0x6f, 0x38, 0x2, 0x27a, 0x279, 0x3, 0x2, 0x2,
0x2, 0x27a, 0x27b, 0x3, 0x2, 0x2, 0x2, 0x27b, 0x27c,
0x3, 0x2, 0x2, 0x2, 0x27c, 0x27d, 0x5, 0xa9, 0x55,
0x2, 0x27d, 0x281, 0x7, 0x30, 0x2, 0x2, 0x27e, 0x280,
0x5, 0xa7, 0x54, 0x2, 0x27f, 0x27e, 0x3, 0x2, 0x2,
0x2, 0x280, 0x283, 0x3, 0x2, 0x2, 0x2, 0x281, 0x27f,
0x3, 0x2, 0x2, 0x2, 0x281, 0x282, 0x3, 0x2, 0x2,
0x2, 0x282, 0x285, 0x3, 0x2, 0x2, 0x2, 0x283, 0x281,
0x3, 0x2, 0x2, 0x2, 0x284, 0x286, 0x5, 0xab, 0x56,
0x2, 0x285, 0x284, 0x3, 0x2, 0x2, 0x2, 0x285, 0x286,
0x3, 0x2, 0x2, 0x2, 0x286, 0x28f, 0x3, 0x2, 0x2,
0x2, 0x287, 0x289, 0x5, 0x6d, 0x37, 0x2, 0x288, 0x287,
0x3, 0x2, 0x2, 0x2, 0x286, 0x29b, 0x3, 0x2, 0x2,
0x2, 0x287, 0x289, 0x5, 0x6f, 0x38, 0x2, 0x288, 0x287,
0x3, 0x2, 0x2, 0x2, 0x288, 0x289, 0x3, 0x2, 0x2,
0x2, 0x289, 0x28a, 0x3, 0x2, 0x2, 0x2, 0x28a, 0x28c,
0x5, 0xa7, 0x54, 0x2, 0x28b, 0x28d, 0x5, 0xa9, 0x55,
0x2, 0x28c, 0x28b, 0x3, 0x2, 0x2, 0x2, 0x28c, 0x28d,
0x3, 0x2, 0x2, 0x2, 0x28d, 0x28f, 0x3, 0x2, 0x2,
0x2, 0x28e, 0x26e, 0x3, 0x2, 0x2, 0x2, 0x28e, 0x27c,
0x3, 0x2, 0x2, 0x2, 0x28e, 0x288, 0x3, 0x2, 0x2,
0x2, 0x28f, 0xac, 0x3, 0x2, 0x2, 0x2, 0x1c, 0x2,
0x1d4, 0x20e, 0x21b, 0x21d, 0x224, 0x226, 0x22a, 0x233, 0x239,
0x243, 0x249, 0x253, 0x25f, 0x262, 0x266, 0x26b, 0x26e, 0x275,
0x279, 0x27c, 0x282, 0x285, 0x288, 0x28c, 0x28e, 0x3, 0x2,
0x7, 0x30, 0x2, 0x2, 0x28b, 0x28d, 0x5, 0xa7, 0x54,
0x2, 0x28c, 0x28b, 0x3, 0x2, 0x2, 0x2, 0x28d, 0x28e,
0x3, 0x2, 0x2, 0x2, 0x28e, 0x28c, 0x3, 0x2, 0x2,
0x2, 0x28e, 0x28f, 0x3, 0x2, 0x2, 0x2, 0x28f, 0x291,
0x3, 0x2, 0x2, 0x2, 0x290, 0x292, 0x5, 0xab, 0x56,
0x2, 0x291, 0x290, 0x3, 0x2, 0x2, 0x2, 0x291, 0x292,
0x3, 0x2, 0x2, 0x2, 0x292, 0x29b, 0x3, 0x2, 0x2,
0x2, 0x293, 0x295, 0x5, 0x6f, 0x38, 0x2, 0x294, 0x293,
0x3, 0x2, 0x2, 0x2, 0x294, 0x295, 0x3, 0x2, 0x2,
0x2, 0x295, 0x296, 0x3, 0x2, 0x2, 0x2, 0x296, 0x298,
0x5, 0xa9, 0x55, 0x2, 0x297, 0x299, 0x5, 0xab, 0x56,
0x2, 0x298, 0x297, 0x3, 0x2, 0x2, 0x2, 0x298, 0x299,
0x3, 0x2, 0x2, 0x2, 0x299, 0x29b, 0x3, 0x2, 0x2,
0x2, 0x29a, 0x27a, 0x3, 0x2, 0x2, 0x2, 0x29a, 0x288,
0x3, 0x2, 0x2, 0x2, 0x29a, 0x294, 0x3, 0x2, 0x2,
0x2, 0x29b, 0xae, 0x3, 0x2, 0x2, 0x2, 0x1c, 0x2,
0x1e0, 0x21a, 0x227, 0x229, 0x230, 0x232, 0x236, 0x23f, 0x245,
0x24f, 0x255, 0x25f, 0x26b, 0x26e, 0x272, 0x277, 0x27a, 0x281,
0x285, 0x288, 0x28e, 0x291, 0x294, 0x298, 0x29a, 0x3, 0x2,
0x3, 0x2,
};
......
......@@ -47,53 +47,54 @@ class TorqueLexer : public antlr4::Lexer {
FOR = 32,
WHILE = 33,
RETURN = 34,
CONTINUE = 35,
BREAK = 36,
GOTO = 37,
OTHERWISE = 38,
TRY = 39,
CATCH = 40,
LABEL = 41,
LABELS = 42,
TAIL = 43,
ISNT = 44,
IS = 45,
LET = 46,
ASSERT = 47,
UNREACHABLE_TOKEN = 48,
DEBUG_TOKEN = 49,
ASSIGNMENT = 50,
ASSIGNMENT_OPERATOR = 51,
EQUAL = 52,
PLUS = 53,
MINUS = 54,
MULTIPLY = 55,
DIVIDE = 56,
MODULO = 57,
BIT_OR = 58,
BIT_AND = 59,
BIT_NOT = 60,
MAX = 61,
MIN = 62,
NOT_EQUAL = 63,
LESS_THAN = 64,
LESS_THAN_EQUAL = 65,
GREATER_THAN = 66,
GREATER_THAN_EQUAL = 67,
SHIFT_LEFT = 68,
SHIFT_RIGHT = 69,
SHIFT_RIGHT_ARITHMETIC = 70,
VARARGS = 71,
EQUALITY_OPERATOR = 72,
INCREMENT = 73,
DECREMENT = 74,
NOT = 75,
STRING_LITERAL = 76,
IDENTIFIER = 77,
WS = 78,
BLOCK_COMMENT = 79,
LINE_COMMENT = 80,
DECIMAL_LITERAL = 81
CONSTEXPR = 35,
CONTINUE = 36,
BREAK = 37,
GOTO = 38,
OTHERWISE = 39,
TRY = 40,
CATCH = 41,
LABEL = 42,
LABELS = 43,
TAIL = 44,
ISNT = 45,
IS = 46,
LET = 47,
ASSERT = 48,
UNREACHABLE_TOKEN = 49,
DEBUG_TOKEN = 50,
ASSIGNMENT = 51,
ASSIGNMENT_OPERATOR = 52,
EQUAL = 53,
PLUS = 54,
MINUS = 55,
MULTIPLY = 56,
DIVIDE = 57,
MODULO = 58,
BIT_OR = 59,
BIT_AND = 60,
BIT_NOT = 61,
MAX = 62,
MIN = 63,
NOT_EQUAL = 64,
LESS_THAN = 65,
LESS_THAN_EQUAL = 66,
GREATER_THAN = 67,
GREATER_THAN_EQUAL = 68,
SHIFT_LEFT = 69,
SHIFT_RIGHT = 70,
SHIFT_RIGHT_ARITHMETIC = 71,
VARARGS = 72,
EQUALITY_OPERATOR = 73,
INCREMENT = 74,
DECREMENT = 75,
NOT = 76,
STRING_LITERAL = 77,
IDENTIFIER = 78,
WS = 79,
BLOCK_COMMENT = 80,
LINE_COMMENT = 81,
DECIMAL_LITERAL = 82
};
explicit TorqueLexer(antlr4::CharStream* input);
......
......@@ -236,15 +236,20 @@ class TorqueListener : public antlr4::tree::ParseTreeListener {
virtual void enterHelperBody(TorqueParser::HelperBodyContext* ctx) = 0;
virtual void exitHelperBody(TorqueParser::HelperBodyContext* ctx) = 0;
virtual void enterExtendsDeclaration(
TorqueParser::ExtendsDeclarationContext* ctx) = 0;
virtual void exitExtendsDeclaration(
TorqueParser::ExtendsDeclarationContext* ctx) = 0;
virtual void enterGeneratesDeclaration(
TorqueParser::GeneratesDeclarationContext* ctx) = 0;
virtual void exitGeneratesDeclaration(
TorqueParser::GeneratesDeclarationContext* ctx) = 0;
virtual void enterExtendsDeclaration(
TorqueParser::ExtendsDeclarationContext* ctx) = 0;
virtual void exitExtendsDeclaration(
TorqueParser::ExtendsDeclarationContext* ctx) = 0;
virtual void enterConstexprDeclaration(
TorqueParser::ConstexprDeclarationContext* ctx) = 0;
virtual void exitConstexprDeclaration(
TorqueParser::ConstexprDeclarationContext* ctx) = 0;
virtual void enterTypeDeclaration(
TorqueParser::TypeDeclarationContext* ctx) = 0;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -47,53 +47,54 @@ class TorqueParser : public antlr4::Parser {
FOR = 32,
WHILE = 33,
RETURN = 34,
CONTINUE = 35,
BREAK = 36,
GOTO = 37,
OTHERWISE = 38,
TRY = 39,
CATCH = 40,
LABEL = 41,
LABELS = 42,
TAIL = 43,
ISNT = 44,
IS = 45,
LET = 46,
ASSERT = 47,
UNREACHABLE_TOKEN = 48,
DEBUG_TOKEN = 49,
ASSIGNMENT = 50,
ASSIGNMENT_OPERATOR = 51,
EQUAL = 52,
PLUS = 53,
MINUS = 54,
MULTIPLY = 55,
DIVIDE = 56,
MODULO = 57,
BIT_OR = 58,
BIT_AND = 59,
BIT_NOT = 60,
MAX = 61,
MIN = 62,
NOT_EQUAL = 63,
LESS_THAN = 64,
LESS_THAN_EQUAL = 65,
GREATER_THAN = 66,
GREATER_THAN_EQUAL = 67,
SHIFT_LEFT = 68,
SHIFT_RIGHT = 69,
SHIFT_RIGHT_ARITHMETIC = 70,
VARARGS = 71,
EQUALITY_OPERATOR = 72,
INCREMENT = 73,
DECREMENT = 74,
NOT = 75,
STRING_LITERAL = 76,
IDENTIFIER = 77,
WS = 78,
BLOCK_COMMENT = 79,
LINE_COMMENT = 80,
DECIMAL_LITERAL = 81
CONSTEXPR = 35,
CONTINUE = 36,
BREAK = 37,
GOTO = 38,
OTHERWISE = 39,
TRY = 40,
CATCH = 41,
LABEL = 42,
LABELS = 43,
TAIL = 44,
ISNT = 45,
IS = 46,
LET = 47,
ASSERT = 48,
UNREACHABLE_TOKEN = 49,
DEBUG_TOKEN = 50,
ASSIGNMENT = 51,
ASSIGNMENT_OPERATOR = 52,
EQUAL = 53,
PLUS = 54,
MINUS = 55,
MULTIPLY = 56,
DIVIDE = 57,
MODULO = 58,
BIT_OR = 59,
BIT_AND = 60,
BIT_NOT = 61,
MAX = 62,
MIN = 63,
NOT_EQUAL = 64,
LESS_THAN = 65,
LESS_THAN_EQUAL = 66,
GREATER_THAN = 67,
GREATER_THAN_EQUAL = 68,
SHIFT_LEFT = 69,
SHIFT_RIGHT = 70,
SHIFT_RIGHT_ARITHMETIC = 71,
VARARGS = 72,
EQUALITY_OPERATOR = 73,
INCREMENT = 74,
DECREMENT = 75,
NOT = 76,
STRING_LITERAL = 77,
IDENTIFIER = 78,
WS = 79,
BLOCK_COMMENT = 80,
LINE_COMMENT = 81,
DECIMAL_LITERAL = 82
};
enum {
......@@ -150,18 +151,19 @@ class TorqueParser : public antlr4::Parser {
RuleStatementScope = 50,
RuleStatementBlock = 51,
RuleHelperBody = 52,
RuleGeneratesDeclaration = 53,
RuleExtendsDeclaration = 54,
RuleTypeDeclaration = 55,
RuleExternalBuiltin = 56,
RuleExternalMacro = 57,
RuleExternalRuntime = 58,
RuleBuiltinDeclaration = 59,
RuleMacroDeclaration = 60,
RuleConstDeclaration = 61,
RuleDeclaration = 62,
RuleModuleDeclaration = 63,
RuleFile = 64
RuleExtendsDeclaration = 53,
RuleGeneratesDeclaration = 54,
RuleConstexprDeclaration = 55,
RuleTypeDeclaration = 56,
RuleExternalBuiltin = 57,
RuleExternalMacro = 58,
RuleExternalRuntime = 59,
RuleBuiltinDeclaration = 60,
RuleMacroDeclaration = 61,
RuleConstDeclaration = 62,
RuleDeclaration = 63,
RuleModuleDeclaration = 64,
RuleFile = 65
};
explicit TorqueParser(antlr4::TokenStream* input);
......@@ -228,8 +230,9 @@ class TorqueParser : public antlr4::Parser {
class StatementScopeContext;
class StatementBlockContext;
class HelperBodyContext;
class GeneratesDeclarationContext;
class ExtendsDeclarationContext;
class GeneratesDeclarationContext;
class ConstexprDeclarationContext;
class TypeDeclarationContext;
class ExternalBuiltinContext;
class ExternalMacroContext;
......@@ -246,6 +249,7 @@ class TorqueParser : public antlr4::Parser {
TypeContext(antlr4::ParserRuleContext* parent, size_t invokingState);
size_t getRuleIndex() const override;
antlr4::tree::TerminalNode* IDENTIFIER();
antlr4::tree::TerminalNode* CONSTEXPR();
void enterRule(antlr4::tree::ParseTreeListener* listener) override;
void exitRule(antlr4::tree::ParseTreeListener* listener) override;
......@@ -916,6 +920,7 @@ class TorqueParser : public antlr4::Parser {
ExpressionContext* expression();
std::vector<StatementBlockContext*> statementBlock();
StatementBlockContext* statementBlock(size_t i);
antlr4::tree::TerminalNode* CONSTEXPR();
void enterRule(antlr4::tree::ParseTreeListener* listener) override;
void exitRule(antlr4::tree::ParseTreeListener* listener) override;
......@@ -1147,6 +1152,21 @@ class TorqueParser : public antlr4::Parser {
HelperBodyContext* helperBody();
class ExtendsDeclarationContext : public antlr4::ParserRuleContext {
public:
ExtendsDeclarationContext(antlr4::ParserRuleContext* parent,
size_t invokingState);
size_t getRuleIndex() const override;
antlr4::tree::TerminalNode* IDENTIFIER();
void enterRule(antlr4::tree::ParseTreeListener* listener) override;
void exitRule(antlr4::tree::ParseTreeListener* listener) override;
antlrcpp::Any accept(antlr4::tree::ParseTreeVisitor* visitor) override;
};
ExtendsDeclarationContext* extendsDeclaration();
class GeneratesDeclarationContext : public antlr4::ParserRuleContext {
public:
GeneratesDeclarationContext(antlr4::ParserRuleContext* parent,
......@@ -1162,12 +1182,12 @@ class TorqueParser : public antlr4::Parser {
GeneratesDeclarationContext* generatesDeclaration();
class ExtendsDeclarationContext : public antlr4::ParserRuleContext {
class ConstexprDeclarationContext : public antlr4::ParserRuleContext {
public:
ExtendsDeclarationContext(antlr4::ParserRuleContext* parent,
size_t invokingState);
ConstexprDeclarationContext(antlr4::ParserRuleContext* parent,
size_t invokingState);
size_t getRuleIndex() const override;
antlr4::tree::TerminalNode* IDENTIFIER();
antlr4::tree::TerminalNode* STRING_LITERAL();
void enterRule(antlr4::tree::ParseTreeListener* listener) override;
void exitRule(antlr4::tree::ParseTreeListener* listener) override;
......@@ -1175,7 +1195,7 @@ class TorqueParser : public antlr4::Parser {
antlrcpp::Any accept(antlr4::tree::ParseTreeVisitor* visitor) override;
};
ExtendsDeclarationContext* extendsDeclaration();
ConstexprDeclarationContext* constexprDeclaration();
class TypeDeclarationContext : public antlr4::ParserRuleContext {
public:
......@@ -1185,6 +1205,7 @@ class TorqueParser : public antlr4::Parser {
antlr4::tree::TerminalNode* IDENTIFIER();
ExtendsDeclarationContext* extendsDeclaration();
GeneratesDeclarationContext* generatesDeclaration();
ConstexprDeclarationContext* constexprDeclaration();
void enterRule(antlr4::tree::ParseTreeListener* listener) override;
void exitRule(antlr4::tree::ParseTreeListener* listener) override;
......
......@@ -177,11 +177,14 @@ class TorqueVisitor : public antlr4::tree::AbstractParseTreeVisitor {
virtual antlrcpp::Any visitHelperBody(
TorqueParser::HelperBodyContext* context) = 0;
virtual antlrcpp::Any visitExtendsDeclaration(
TorqueParser::ExtendsDeclarationContext* context) = 0;
virtual antlrcpp::Any visitGeneratesDeclaration(
TorqueParser::GeneratesDeclarationContext* context) = 0;
virtual antlrcpp::Any visitExtendsDeclaration(
TorqueParser::ExtendsDeclarationContext* context) = 0;
virtual antlrcpp::Any visitConstexprDeclaration(
TorqueParser::ConstexprDeclarationContext* context) = 0;
virtual antlrcpp::Any visitTypeDeclaration(
TorqueParser::TypeDeclarationContext* context) = 0;
......
......@@ -13,10 +13,17 @@ namespace torque {
namespace {
std::string GetType(TorqueParser::TypeContext* context) {
if (!context) return "void";
std::string result(context->CONSTEXPR() == nullptr ? ""
: CONSTEXPR_TYPE_PREFIX);
result += context->IDENTIFIER()->getSymbol()->getText();
return result;
}
std::string GetOptionalType(TorqueParser::OptionalTypeContext* context) {
if (!context) return "";
if (!context->type()) return "void";
return context->type()->IDENTIFIER()->getSymbol()->getText();
return GetType(context->type());
}
LabelAndTypesVector GetOptionalLabelAndTypeList(
......@@ -28,8 +35,7 @@ LabelAndTypesVector GetOptionalLabelAndTypeList(
new_label.name = label->IDENTIFIER()->getSymbol()->getText();
if (label->typeList() != nullptr) {
for (auto& type : label->typeList()->type()) {
new_label.types.emplace_back(
type->IDENTIFIER()->getSymbol()->getText());
new_label.types.emplace_back(GetType(type));
}
}
labels.emplace_back(new_label);
......@@ -95,8 +101,7 @@ antlrcpp::Any AstGenerator::visitParameterList(
for (auto* parameter : context->parameter()) {
parameter->accept(this);
result.names.push_back(parameter->IDENTIFIER()->getSymbol()->getText());
result.types.push_back(
parameter->type()->IDENTIFIER()->getSymbol()->getText());
result.types.push_back(GetType(parameter->type()));
}
return std::move(result);
}
......@@ -106,7 +111,7 @@ antlrcpp::Any AstGenerator::visitTypeList(
ParameterList result{{}, {}, false, {}};
result.types.reserve(context->type().size());
for (auto* type : context->type()) {
result.types.push_back(type->IDENTIFIER()->getSymbol()->getText());
result.types.push_back(GetType(type));
}
return std::move(result);
}
......@@ -116,7 +121,7 @@ antlrcpp::Any AstGenerator::visitTypeListMaybeVarArgs(
ParameterList result{{}, {}, context->VARARGS(), {}};
result.types.reserve(context->type().size());
for (auto* type : context->type()) {
result.types.push_back(type->IDENTIFIER()->getSymbol()->getText());
result.types.push_back(GetType(type));
}
return std::move(result);
}
......@@ -193,7 +198,7 @@ antlrcpp::Any AstGenerator::visitConstDeclaration(
TorqueParser::ConstDeclarationContext* context) {
return implicit_cast<Declaration*>(RegisterNode(new ConstDeclaration{
Pos(context), context->IDENTIFIER()->getSymbol()->getText(),
context->type()->IDENTIFIER()->getSymbol()->getText(),
GetType(context->type()),
StringLiteralUnquote(
context->STRING_LITERAL()->getSymbol()->getText())}));
}
......@@ -211,16 +216,23 @@ antlrcpp::Any AstGenerator::visitTypeDeclaration(
->getSymbol()
->getText());
}
if (context->constexprDeclaration()) {
result->constexpr_generates =
StringLiteralUnquote(context->constexprDeclaration()
->STRING_LITERAL()
->getSymbol()
->getText());
}
return implicit_cast<Declaration*>(result);
}
antlrcpp::Any AstGenerator::visitVariableDeclaration(
TorqueParser::VariableDeclarationContext* context) {
return RegisterNode(new VarDeclarationStatement{
Pos(context),
context->IDENTIFIER()->getSymbol()->getText(),
context->type()->IDENTIFIER()->getSymbol()->getText(),
{}});
return RegisterNode(
new VarDeclarationStatement{Pos(context),
context->IDENTIFIER()->getSymbol()->getText(),
GetType(context->type()),
{}});
}
antlrcpp::Any AstGenerator::visitVariableDeclarationWithInitialization(
......@@ -327,6 +339,7 @@ antlrcpp::Any AstGenerator::visitIfStatement(
IfStatement* result = RegisterNode(new IfStatement{
Pos(context),
std::move(context->expression()->accept(this).as<Expression*>()),
context->CONSTEXPR() != nullptr,
std::move(context->statementBlock(0)->accept(this).as<Statement*>()),
{}});
if (context->statementBlock(1))
......@@ -425,11 +438,11 @@ antlrcpp::Any AstGenerator::visitPrimaryExpression(
new StringLiteralExpression{Pos(context), e->getSymbol()->getText()}));
if (context->CONVERT_KEYWORD())
return implicit_cast<Expression*>(RegisterNode(new ConvertExpression{
Pos(context), context->type()->IDENTIFIER()->getSymbol()->getText(),
Pos(context), GetType(context->type()),
context->expression()->accept(this).as<Expression*>()}));
if (context->CAST_KEYWORD())
return implicit_cast<Expression*>(RegisterNode(new CastExpression{
Pos(context), context->type()->IDENTIFIER()->getSymbol()->getText(),
Pos(context), GetType(context->type()),
context->IDENTIFIER()->getSymbol()->getText(),
context->expression()->accept(this).as<Expression*>()}));
return context->expression()->accept(this);
......
......@@ -334,10 +334,15 @@ struct ExpressionStatement : Statement {
struct IfStatement : Statement {
DEFINE_AST_NODE_LEAF_BOILERPLATE(IfStatement)
IfStatement(SourcePosition p, Expression* c, Statement* t,
IfStatement(SourcePosition p, Expression* c, bool cexpr, Statement* t,
base::Optional<Statement*> f)
: Statement(kKind, p), condition(c), if_true(t), if_false(f) {}
: Statement(kKind, p),
condition(c),
is_constexpr(cexpr),
if_true(t),
if_false(f) {}
Expression* condition;
bool is_constexpr;
Statement* if_true;
base::Optional<Statement*> if_false;
};
......@@ -501,6 +506,7 @@ struct TypeDeclaration : Declaration {
std::string name;
base::Optional<std::string> extends;
base::Optional<std::string> generates;
base::Optional<std::string> constexpr_generates;
};
struct LabelAndTypes {
......
......@@ -72,10 +72,19 @@ class DeclarationVisitor : public FileVisitor {
void Visit(TailCallStatement* stmt) { Visit(stmt->call); }
void Visit(TypeDeclaration* decl) {
std::string generates_class_name =
decl->generates ? *decl->generates : decl->name;
declarations()->DeclareType(decl->pos, decl->name, generates_class_name,
decl->extends ? &*decl->extends : nullptr);
std::string extends = decl->extends ? *decl->extends : std::string("");
std::string* extends_ptr = decl->extends ? &extends : nullptr;
std::string generates =
decl->generates ? *decl->generates : std::string("");
declarations()->DeclareType(decl->pos, decl->name, generates, extends_ptr);
if (decl->constexpr_generates) {
std::string constexpr_name =
std::string(CONSTEXPR_TYPE_PREFIX) + decl->name;
declarations()->DeclareType(decl->pos, constexpr_name,
*decl->constexpr_generates, &(decl->name));
}
}
void Visit(ExternalBuiltinDeclaration* decl) {
......@@ -125,6 +134,7 @@ class DeclarationVisitor : public FileVisitor {
std::cout << "found declaration of external runtime " << decl->name
<< " with signature ";
}
Type return_type = declarations()->LookupType(decl->pos, decl->return_type);
TypeVector parameter_types =
GetTypeVector(decl->pos, decl->parameters.types);
......@@ -260,12 +270,16 @@ class DeclarationVisitor : public FileVisitor {
}
void Visit(IfStatement* stmt) {
PushControlSplit();
if (!stmt->is_constexpr) {
PushControlSplit();
}
DeclareExpressionForBranch(stmt->condition);
Visit(stmt->if_true);
if (stmt->if_false) Visit(*stmt->if_false);
auto changed_vars = PopControlSplit();
global_context_.AddControlSplitChangedVariables(stmt, changed_vars);
if (!stmt->is_constexpr) {
auto changed_vars = PopControlSplit();
global_context_.AddControlSplitChangedVariables(stmt, changed_vars);
}
}
void Visit(WhileStatement* stmt) {
......
......@@ -341,7 +341,7 @@ VisitResult ImplementationVisitor::Visit(LogicalOrExpression* expr) {
Label::cast(declarations()->LookupValue(expr->pos, kFalseLabelName));
GenerateLabelDefinition(false_label);
VisitResult left_result = Visit(expr->left);
if (left_result.type().IsBit()) {
if (left_result.type().IsBool()) {
Label* true_label =
Label::cast(declarations()->LookupValue(expr->pos, kTrueLabelName));
GenerateIndent();
......@@ -361,7 +361,7 @@ VisitResult ImplementationVisitor::Visit(LogicalAndExpression* expr) {
Label::cast(declarations()->LookupValue(expr->pos, kTrueLabelName));
GenerateLabelDefinition(true_label);
VisitResult left_result = Visit(expr->left);
if (left_result.type().IsBit()) {
if (left_result.type().IsBool()) {
Label* false_label =
Label::cast(declarations()->LookupValue(expr->pos, kFalseLabelName));
GenerateIndent();
......@@ -484,38 +484,70 @@ Type ImplementationVisitor::Visit(IfStatement* stmt) {
bool has_else = stmt->if_false.has_value();
Label* true_label = nullptr;
Label* false_label = nullptr;
{
Declarations::NodeScopeActivator scope(declarations(), &*stmt->condition);
true_label =
Label::cast(declarations()->LookupValue(stmt->pos, kTrueLabelName));
GenerateLabelDefinition(true_label);
false_label =
Label::cast(declarations()->LookupValue(stmt->pos, kFalseLabelName));
GenerateLabelDefinition(false_label, !has_else ? stmt : nullptr);
}
if (stmt->is_constexpr) {
VisitResult expression_result = Visit(stmt->condition);
Label* done_label = nullptr;
bool live = false;
if (has_else) {
done_label =
declarations()->DeclarePrivateLabel(stmt->pos, "if_done_label");
GenerateLabelDefinition(done_label, stmt);
if (!expression_result.type().Is(GetTypeOracle().GetConstexprBoolType())) {
std::stringstream stream;
stream
<< "expression should return type \"constexpr bool\" but doesn't at"
<< PositionAsString(stmt->pos);
ReportError(stream.str());
}
{
GenerateIndent();
source_out() << "if ((" << expression_result.variable() << ")) ";
ScopedIndent indent(this, false);
source_out() << std::endl;
Visit(stmt->if_true);
}
if (has_else) {
source_out() << " else ";
ScopedIndent indent(this, false);
source_out() << std::endl;
Visit(*stmt->if_false);
}
source_out() << std::endl;
return GetTypeOracle().GetVoidType();
} else {
done_label = false_label;
live = true;
}
std::vector<Statement*> blocks = {stmt->if_true};
std::vector<Label*> labels = {true_label, false_label};
if (has_else) blocks.push_back(*stmt->if_false);
if (GenerateExpressionBranch(stmt->condition, labels, blocks, done_label)) {
live = true;
}
if (live) {
GenerateLabelBind(done_label);
Label* true_label = nullptr;
Label* false_label = nullptr;
{
Declarations::NodeScopeActivator scope(declarations(), &*stmt->condition);
true_label =
Label::cast(declarations()->LookupValue(stmt->pos, kTrueLabelName));
GenerateLabelDefinition(true_label);
false_label =
Label::cast(declarations()->LookupValue(stmt->pos, kFalseLabelName));
GenerateLabelDefinition(false_label, !has_else ? stmt : nullptr);
}
Label* done_label = nullptr;
bool live = false;
if (has_else) {
done_label =
declarations()->DeclarePrivateLabel(stmt->pos, "if_done_label");
GenerateLabelDefinition(done_label, stmt);
} else {
done_label = false_label;
live = true;
}
std::vector<Statement*> blocks = {stmt->if_true};
std::vector<Label*> labels = {true_label, false_label};
if (has_else) blocks.push_back(*stmt->if_false);
if (GenerateExpressionBranch(stmt->condition, labels, blocks, done_label)) {
live = true;
}
if (live) {
GenerateLabelBind(done_label);
}
return live ? GetTypeOracle().GetVoidType()
: GetTypeOracle().GetNeverType();
}
return live ? GetTypeOracle().GetVoidType() : GetTypeOracle().GetNeverType();
}
Type ImplementationVisitor::Visit(WhileStatement* stmt) {
......@@ -605,7 +637,7 @@ Type ImplementationVisitor::Visit(AssertStatement* stmt) {
Expression* expression = stmt->expression;
VisitResult expression_result = Visit(stmt->expression);
if (expression_result.type() == GetTypeOracle().GetBitType()) {
if (expression_result.type() == GetTypeOracle().GetBoolType()) {
GenerateBranch(expression_result, true_label, false_label);
} else {
if (expression_result.type() != GetTypeOracle().GetNeverType()) {
......@@ -1009,7 +1041,8 @@ VisitResult ImplementationVisitor::GenerateOperation(
}
}
if (!return_type || (return_type->IsSubclass(handler.result_type))) {
if (!return_type || (GetTypeOracle().IsAssignableFrom(
*return_type, handler.result_type))) {
return GenerateCall(pos, handler.macro_name, arguments, false);
}
}
......@@ -1362,7 +1395,7 @@ bool ImplementationVisitor::GenerateExpressionBranch(
Declarations::NodeScopeActivator scope(declarations(), expression);
VisitResult expression_result = Visit(expression);
if (expression_result.type() == GetTypeOracle().GetBitType()) {
if (expression_result.type() == GetTypeOracle().GetBoolType()) {
GenerateBranch(expression_result, statement_labels[0], statement_labels[1]);
} else {
if (expression_result.type() != GetTypeOracle().GetNeverType()) {
......
......@@ -25,7 +25,11 @@ class TypeOracle {
Type GetArgumentsType() { return GetBuiltinType(ARGUMENTS_TYPE_STRING); }
Type GetBitType() { return GetBuiltinType(BIT_TYPE_STRING); }
Type GetBoolType() { return GetBuiltinType(BOOL_TYPE_STRING); }
Type GetConstexprBoolType() {
return GetBuiltinType(CONSTEXPR_BOOL_TYPE_STRING);
}
Type GetVoidType() { return GetBuiltinType(VOID_TYPE_STRING); }
......@@ -40,7 +44,8 @@ class TypeOracle {
Type GetConstInt31Type() { return GetBuiltinType(CONST_INT31_TYPE_STRING); }
bool IsAssignableFrom(Type to, Type from) {
if (to.IsSubclass(from)) return true;
if (to == from) return true;
if (to.IsSubclass(from) && !from.IsConstexpr()) return true;
return IsImplicitlyConverableFrom(to, from);
}
......
......@@ -14,9 +14,11 @@ namespace v8 {
namespace internal {
namespace torque {
static const char* const CONSTEXPR_TYPE_PREFIX = "constexpr ";
static const char* const NEVER_TYPE_STRING = "never";
static const char* const BRANCH_TYPE_STRING = "branch";
static const char* const BIT_TYPE_STRING = "bit";
static const char* const CONSTEXPR_BOOL_TYPE_STRING = "constexpr bool";
static const char* const BOOL_TYPE_STRING = "bool";
static const char* const VOID_TYPE_STRING = "void";
static const char* const ARGUMENTS_TYPE_STRING = "Arguments";
static const char* const TAGGED_TYPE_STRING = "tagged";
......@@ -25,9 +27,9 @@ static const char* const EXCEPTION_TYPE_STRING = "Exception";
static const char* const OBJECT_TYPE_STRING = "Object";
static const char* const STRING_TYPE_STRING = "String";
static const char* const INTPTR_TYPE_STRING = "intptr";
static const char* const CONST_INT31_TYPE_STRING = "const_int31";
static const char* const CONST_INT32_TYPE_STRING = "const_int32";
static const char* const CONST_FLOAT64_TYPE_STRING = "const_float64";
static const char* const CONST_INT31_TYPE_STRING = "constexpr int31";
static const char* const CONST_INT32_TYPE_STRING = "constexpr int32";
static const char* const CONST_FLOAT64_TYPE_STRING = "constexpr float64";
class Label;
......@@ -47,9 +49,14 @@ typedef struct Type {
bool IsException() const { return name() == EXCEPTION_TYPE_STRING; }
bool IsVoid() const { return name() == VOID_TYPE_STRING; }
bool IsNever() const { return name() == NEVER_TYPE_STRING; }
bool IsBit() const { return name() == BIT_TYPE_STRING; }
bool IsBool() const { return name() == BOOL_TYPE_STRING; }
bool IsVoidOrNever() const { return IsVoid() || IsNever(); }
bool IsConstexpr() const {
return name().substr(0, strlen(CONSTEXPR_TYPE_PREFIX)) ==
CONSTEXPR_TYPE_PREFIX;
}
const std::string& name() const;
const std::string& GetGeneratedTypeName() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment