diff --git a/lib/compiler/binder.js b/lib/compiler/binder.js index 853f2a2..7abdc9a 100644 --- a/lib/compiler/binder.js +++ b/lib/compiler/binder.js @@ -11,13 +11,13 @@ function bindSourceFile(sourceFile, store) { let parentContainer = currentContainer; if (utils_1.isDeclarationKind(node.kind)) { switch (node.kind) { - case 122 /* SourceFile */: + case 121 /* SourceFile */: { declareSymbol(node, null); break; } - case 116 /* CallExpression */: - case 115 /* PropertyAccessExpression */: + case 115 /* CallExpression */: + case 114 /* PropertyAccessExpression */: { // TODO: to be reomved? // declareSymbol(node, null); @@ -43,30 +43,30 @@ function bindSourceFile(sourceFile, store) { } function getDeclarationName(node) { switch (node.kind) { - case 122 /* SourceFile */: + case 121 /* SourceFile */: { return node.fileName; break; } - case 135 /* VariableDeclaration */: - case 136 /* FunctionDeclaration */: - case 134 /* StructDeclaration */: - case 137 /* ParameterDeclaration */: - case 138 /* PropertyDeclaration */: - case 139 /* TypedefDeclaration */: + case 134 /* VariableDeclaration */: + case 135 /* FunctionDeclaration */: + case 133 /* StructDeclaration */: + case 136 /* ParameterDeclaration */: + case 137 /* PropertyDeclaration */: + case 138 /* TypedefDeclaration */: { return node.name.name; break; } - case 115 /* PropertyAccessExpression */: + case 114 /* PropertyAccessExpression */: { return '__prop__' + node.name.name; break; } - case 116 /* CallExpression */: + case 115 /* CallExpression */: { const call = node; - if (call.expression.kind === 108 /* Identifier */) { + if (call.expression.kind === 107 /* Identifier */) { return call.expression.name; } else { @@ -98,7 +98,7 @@ function bindSourceFile(sourceFile, store) { nodeSymbol = parentSymbol.members.get(name); } else { - if (parentSymbol && parentSymbol.declarations[0].kind === 122 /* SourceFile */) { + if (parentSymbol && parentSymbol.declarations[0].kind === 121 /* SourceFile */) { nodeSymbol = store.resolveGlobalSymbol(name); } if (!nodeSymbol) { @@ -112,23 +112,23 @@ function bindSourceFile(sourceFile, store) { parent: parentSymbol, }; switch (node.kind) { - case 137 /* ParameterDeclaration */: + case 136 /* ParameterDeclaration */: nodeSymbol.flags = 4 /* FunctionParameter */; break; - case 135 /* VariableDeclaration */: - nodeSymbol.flags = ((parentSymbol && parentSymbol.declarations[0].kind == 122 /* SourceFile */) ? + case 134 /* VariableDeclaration */: + nodeSymbol.flags = ((parentSymbol && parentSymbol.declarations[0].kind == 121 /* SourceFile */) ? 8 /* GlobalVariable */ : 2 /* LocalVariable */); break; - case 136 /* FunctionDeclaration */: + case 135 /* FunctionDeclaration */: nodeSymbol.flags = 32 /* Function */; break; - case 134 /* StructDeclaration */: + case 133 /* StructDeclaration */: nodeSymbol.flags = 64 /* Struct */; break; - case 138 /* PropertyDeclaration */: + case 137 /* PropertyDeclaration */: nodeSymbol.flags = 16 /* Property */; break; - case 139 /* TypedefDeclaration */: + case 138 /* TypedefDeclaration */: nodeSymbol.flags = 128 /* Typedef */; break; } @@ -139,8 +139,8 @@ function bindSourceFile(sourceFile, store) { } node.symbol = nodeSymbol; nodeSymbol.declarations.push(node); - if (!node.symbol.valueDeclaration && ((node.kind === 136 /* FunctionDeclaration */ && node.body) || - (node.kind === 135 /* VariableDeclaration */ && node.initializer))) { + if (!node.symbol.valueDeclaration && ((node.kind === 135 /* FunctionDeclaration */ && node.body) || + (node.kind === 134 /* VariableDeclaration */ && node.initializer))) { node.symbol.valueDeclaration = node; } return nodeSymbol; diff --git a/lib/compiler/checker.d.ts b/lib/compiler/checker.d.ts index 7a10c8c..4e0a587 100644 --- a/lib/compiler/checker.d.ts +++ b/lib/compiler/checker.d.ts @@ -2,6 +2,102 @@ import * as gt from './types'; import { Store } from '../service/store'; export declare function getNodeId(node: gt.Node): number; export declare function getSymbolId(symbol: gt.Symbol): number; +export declare abstract class AbstractType implements gt.Type { + flags: gt.TypeFlags; + abstract isAssignableTo(target: AbstractType): boolean; + abstract isComparableTo(target: AbstractType): boolean; + abstract isBoolExpression(negation: boolean): boolean; + isValidBinaryOperation(operation: gt.BinaryOperator, rightType: AbstractType): boolean; + isValidPrefixOperation(operation: gt.PrefixUnaryOperator): boolean; + isValidPostfixOperation(operation: gt.PostfixUnaryOperator): boolean; + getName(): string; +} +export declare class UnknownType extends AbstractType { + flags: gt.TypeFlags; + isAssignableTo(target: AbstractType): boolean; + isComparableTo(target: AbstractType): boolean; + isBoolExpression(negation: boolean): boolean; +} +export declare class IntrinsicType extends AbstractType { + readonly name: string; + constructor(flags: gt.TypeFlags, name: string); + isAssignableTo(target: AbstractType): boolean; + isComparableTo(target: AbstractType): boolean; + isBoolExpression(negation: boolean): boolean; + isValidBinaryOperation(operation: gt.BinaryOperator, rightType: AbstractType): boolean; + isValidPrefixOperation(operation: gt.PrefixUnaryOperator): boolean; + isValidPostfixOperation(operation: gt.PostfixUnaryOperator): boolean; + getName(): string; +} +export declare class ComplexType extends AbstractType implements gt.ComplexType { + kind: gt.SyntaxKind; + constructor(kind: gt.SyntaxKind); + isAssignableTo(target: AbstractType): boolean; + isComparableTo(target: AbstractType): boolean; + isBoolExpression(negation: boolean): boolean; + isValidBinaryOperation(operation: gt.BinaryOperator, rightType: AbstractType): boolean; + isValidPrefixOperation(operation: gt.PrefixUnaryOperator): boolean; + getName(): string; +} +export declare class LiteralType extends AbstractType { + value: gt.Literal; + constructor(flags: gt.TypeFlags, value: gt.Literal); + isAssignableTo(target: AbstractType): boolean; + isComparableTo(target: AbstractType): boolean; + isBoolExpression(negation: boolean): boolean; + isValidBinaryOperation(operation: gt.BinaryOperator, rightType: AbstractType): boolean; + isValidPrefixOperation(operation: gt.PrefixUnaryOperator): boolean; + getName(): string; +} +export declare class StructType extends AbstractType implements gt.StructType { + symbol: gt.Symbol; + constructor(symbol: gt.Symbol); + isAssignableTo(target: AbstractType): boolean; + isComparableTo(target: AbstractType): boolean; + isBoolExpression(negation: boolean): boolean; + getName(): string; +} +export declare class SignatureMeta { + returnType: AbstractType; + args: AbstractType[]; + constructor(returnType: AbstractType, args: AbstractType[]); + match(other: SignatureMeta): boolean; +} +export declare class FunctionType extends AbstractType implements gt.FunctionType { + symbol: gt.Symbol; + signature: SignatureMeta; + constructor(symbol: gt.Symbol, signature: SignatureMeta); + isAssignableTo(target: AbstractType): boolean; + isComparableTo(target: AbstractType): boolean; + isBoolExpression(negation: boolean): boolean; + getName(): string; +} +export declare type ReferenceKind = gt.SyntaxKind.FuncrefKeyword | gt.SyntaxKind.StructrefKeyword | gt.SyntaxKind.ArrayrefKeyword; +export declare class ReferenceType extends AbstractType { + kind: ReferenceKind; + declaredType: AbstractType; + constructor(kind: ReferenceKind, declaredType: AbstractType); + isAssignableTo(target: AbstractType): boolean; + isComparableTo(target: AbstractType): boolean; + isBoolExpression(negation: boolean): boolean; + getName(): string; +} +export declare class ArrayType extends AbstractType implements gt.ArrayType { + elementType: AbstractType; + constructor(elementType: AbstractType); + isAssignableTo(target: AbstractType): boolean; + isComparableTo(target: AbstractType): boolean; + isBoolExpression(negation: boolean): boolean; + getName(): string; +} +export declare class TypedefType extends AbstractType implements gt.TypedefType { + referencedType: AbstractType; + constructor(referencedType: AbstractType); + isAssignableTo(target: AbstractType): boolean; + isComparableTo(target: AbstractType): boolean; + isBoolExpression(negation: boolean): boolean; + getName(): string; +} export declare class TypeChecker { private store; private nodeLinks; @@ -9,23 +105,27 @@ export declare class TypeChecker { constructor(store: Store); private report(location, msg, category?); private getNodeLinks(node); + private checkTypeAssignableTo(source, target, node); + private checkTypeComparableTo(source, target, node); + private checkTypeBoolExpression(source, negation, node); private getTypeFromArrayTypeNode(node); private getTypeFromMappedTypeNode(node); private resolveMappedReference(type); private getPropertyOfType(type, name); private getDeclaredTypeOfStruct(symbol); + private getTypeOfFunction(symbol); + private getTypeOfTypedef(symbol); private getDeclaredTypeOfSymbol(symbol); private getTypeFromTypeNode(node); private getTypeOfSymbol(symbol); private getTypeOfVariableOrParameterOrProperty(symbol); - private getTypeOfFunction(symbol); - private getTypeOfTypedef(symbol); getTypeOfNode(node: gt.Node, followRef?: boolean): gt.Type; private getRegularTypeOfExpression(expr); private getTypeOfExpression(node, cache?); checkSourceFile(sourceFile: gt.SourceFile): gt.Diagnostic[]; private checkSourceElement(node); private checkFunction(node); + private checkParameterDeclaration(node); private checkVariableDeclaration(node); private checkStructDeclaration(node); private checkIfStatement(node); @@ -39,6 +139,7 @@ export declare class TypeChecker { private checkExpressionStatement(node); private checkExpression(node, checkMode?); private checkExpressionWorker(node, checkMode); + private checkLiteralExpression(node); private checkBinaryExpression(node, checkMode?); private checkParenthesizedExpression(node, checkMode?); private checkPrefixUnaryExpression(node, checkMode?); diff --git a/lib/compiler/checker.js b/lib/compiler/checker.js index d77eac6..6e8e8f7 100644 --- a/lib/compiler/checker.js +++ b/lib/compiler/checker.js @@ -1,7 +1,9 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const gt = require("./types"); -const utils_1 = require("./utils"); +const utils_1 = require("../compiler/utils"); +const utils_2 = require("./utils"); +const scanner_1 = require("./scanner"); let nextSymbolId = 1; let nextNodeId = 1; let nextMergeId = 1; @@ -28,54 +30,469 @@ var CheckMode; CheckMode[CheckMode["SkipContextSensitive"] = 1] = "SkipContextSensitive"; CheckMode[CheckMode["Inferential"] = 2] = "Inferential"; })(CheckMode || (CheckMode = {})); -function createType(flags) { - const result = { - flags: flags, - }; - return result; +class AbstractType { + isValidBinaryOperation(operation, rightType) { + return false; + } + isValidPrefixOperation(operation) { + return false; + } + isValidPostfixOperation(operation) { + return false; + } + getName() { + return this.constructor.name; + } } -function createIntrinsicType(kind, intrinsicName) { - const type = createType(kind); - type.intrinsicName = intrinsicName; - return type; +exports.AbstractType = AbstractType; +class UnknownType extends AbstractType { + constructor() { + super(...arguments); + this.flags = 1 /* Unknown */; + } + isAssignableTo(target) { + return false; + } + isComparableTo(target) { + return false; + } + isBoolExpression(negation) { + return false; + } } -// function createBooleanType(trueFalseTypes: Type[]): IntrinsicType & UnionType { -// const type = getUnionType(trueFalseTypes); -// type.flags |= gt.TypeFlags.Boolean; -// type.intrinsicName = "boolean"; -// return type; -// } -function createStructType(symbol) { - const type = createType(4096 /* Struct */); - type.symbol = symbol; - return type; +exports.UnknownType = UnknownType; +class IntrinsicType extends AbstractType { + constructor(flags, name) { + super(); + this.flags = flags; + this.name = name; + } + isAssignableTo(target) { + if (this === target) + return true; + if (target instanceof IntrinsicType) { + if (target.flags & 32 /* Fixed */ && (this.flags & 4 /* Integer */ || this.flags & 8 /* Byte */)) + return true; + if (target.flags & 4 /* Integer */ && (this.flags & 8 /* Byte */)) + return true; + if (target.flags & 8 /* Byte */ && (this.flags & 4 /* Integer */)) + return true; + if (this.flags & 64 /* Boolean */ && target.flags & 64 /* Boolean */) + return true; + } + if (this.flags & 4096 /* Null */ && target.flags & 128 /* Nullable */) + return true; + return false; + } + isComparableTo(target) { + if (this === target) + return true; + if (target instanceof IntrinsicType) { + if ((this.flags & 4 /* Integer */ || this.flags & 8 /* Byte */ || this.flags & 32 /* Fixed */) && + (target.flags & 4 /* Integer */ || target.flags & 8 /* Byte */ || target.flags & 32 /* Fixed */)) { + return true; + } + if (this.flags & 64 /* Boolean */ && target.flags & 64 /* Boolean */) + return true; + } + if (this.flags & 4096 /* Null */ && target.flags & 128 /* Nullable */) + return true; + return false; + } + isBoolExpression(negation) { + return true; + } + isValidBinaryOperation(operation, rightType) { + if (this === rightType || (rightType instanceof LiteralType && rightType.value.kind === 2 /* StringLiteral */)) { + switch (operation) { + case 19 /* PlusToken */: + if (this.flags & 2 /* String */) + return true; + } + } + if (this === rightType || + (rightType.flags & 4 /* Integer */) || + (rightType.flags & 32 /* Fixed */) || + (rightType.flags & 8 /* Byte */) || + (rightType instanceof LiteralType && rightType.value.kind === 1 /* NumericLiteral */)) { + switch (operation) { + case 19 /* PlusToken */: + case 20 /* MinusToken */: + case 21 /* AsteriskToken */: + case 23 /* PercentToken */: + case 22 /* SlashToken */: + if (this.flags & 4 /* Integer */ || this.flags & 8 /* Byte */ || this.flags & 32 /* Fixed */) + return true; + } + } + if (this === rightType || (rightType instanceof LiteralType && rightType.value.kind === 1 /* NumericLiteral */)) { + switch (operation) { + case 28 /* AmpersandToken */: + case 29 /* BarToken */: + case 30 /* CaretToken */: + case 26 /* LessThanLessThanToken */: + case 27 /* GreaterThanGreaterThanToken */: + case 34 /* BarBarToken */: + case 33 /* AmpersandAmpersandToken */: + if (this.flags & 4 /* Integer */) + return true; + } + } + return false; + } + isValidPrefixOperation(operation) { + switch (operation) { + case 19 /* PlusToken */: + case 20 /* MinusToken */: + if (this.flags & 4 /* Integer */ || this.flags & 8 /* Byte */ || this.flags & 32 /* Fixed */) + return true; + case 32 /* TildeToken */: + if (this.flags & 4 /* Integer */ || this.flags & 8 /* Byte */) + return true; + case 31 /* ExclamationToken */: + if (this.flags & 4 /* Integer */ || this.flags & 8 /* Byte */ || this.flags & 32 /* Fixed */ || this.flags & 64 /* Boolean */) + return true; + } + } + isValidPostfixOperation(operation) { + return false; + } + getName() { + return this.name; + } } -function createFunctionType(symbol) { - const type = createType(8192 /* Function */); - type.symbol = symbol; - return type; +exports.IntrinsicType = IntrinsicType; +class ComplexType extends AbstractType { + constructor(kind) { + super(); + this.flags = 32768 /* Complex */; + this.kind = kind; + switch (this.kind) { + case 79 /* ColorKeyword */: + break; + default: + this.flags |= 128 /* Nullable */; + break; + } + } + isAssignableTo(target) { + if (this === target) + return true; + if (target instanceof ComplexType) { + const cmpKind = target.kind === 81 /* HandleKeyword */ ? this.kind : target.kind; + switch (cmpKind) { + case 72 /* AbilcmdKeyword */: + case 73 /* ActorKeyword */: + case 74 /* ActorscopeKeyword */: + case 75 /* AifilterKeyword */: + case 76 /* BankKeyword */: + case 77 /* BitmaskKeyword */: + case 78 /* CamerainfoKeyword */: + case 82 /* GenerichandleKeyword */: + case 83 /* EffecthistoryKeyword */: + case 84 /* MarkerKeyword */: + case 85 /* OrderKeyword */: + case 86 /* PlayergroupKeyword */: + case 87 /* PointKeyword */: + case 88 /* RegionKeyword */: + case 90 /* SoundKeyword */: + case 91 /* SoundlinkKeyword */: + case 92 /* TextKeyword */: + case 93 /* TimerKeyword */: + case 94 /* TransmissionsourceKeyword */: + case 97 /* UnitfilterKeyword */: + case 98 /* UnitgroupKeyword */: + case 99 /* UnitrefKeyword */: + case 102 /* WaveinfoKeyword */: + case 103 /* WavetargetKeyword */: + return true; + default: + return false; + } + } + // if (target.flags && gt.TypeFlags.Null && this.flags & gt.TypeFlags.Nullable) return true; + return false; + } + isComparableTo(target) { + if (this === target) + return true; + if (target.flags && 4096 /* Null */ && this.flags & 128 /* Nullable */) + return true; + return false; + } + isBoolExpression(negation) { + if (negation) { + switch (this.kind) { + case 95 /* TriggerKeyword */: + case 96 /* UnitKeyword */: + return false; + } + } + return true; + } + isValidBinaryOperation(operation, rightType) { + if (this !== rightType) + return false; + switch (operation) { + case 19 /* PlusToken */: + { + switch (this.kind) { + case 92 /* TextKeyword */: + case 87 /* PointKeyword */: + return true; + } + break; + } + case 20 /* MinusToken */: + { + switch (this.kind) { + case 87 /* PointKeyword */: + return true; + } + break; + } + } + return false; + } + isValidPrefixOperation(operation) { + switch (operation) { + case 31 /* ExclamationToken */: + return this.isBoolExpression(true); + } + return false; + } + getName() { + return scanner_1.tokenToString(this.kind); + } } -function createTypedefType(referencedType) { - const type = createType(1048576 /* Typedef */); - type.referencedType = referencedType; - return type; +exports.ComplexType = ComplexType; +class LiteralType extends AbstractType { + constructor(flags, value) { + super(); + this.flags = flags; + this.value = value; + } + isAssignableTo(target) { + if (this === target) + return true; + if (this.value.kind === 2 /* StringLiteral */ && target.flags & 2 /* String */) { + return true; + } + if (this.value.kind === 1 /* NumericLiteral */ && (target.flags & 8 /* Byte */ || + target.flags & 4 /* Integer */ || + target.flags & 32 /* Fixed */)) { + if (this.value.text.indexOf('.') !== -1 && !(target.flags & 32 /* Fixed */)) { + return false; + } + return true; + } + if (this.flags & 4096 /* Null */ && target.flags & 128 /* Nullable */) { + return true; + } + return false; + } + isComparableTo(target) { + if (this === target) + return true; + if (this.value.kind === 1 /* NumericLiteral */ && (target.flags & 8 /* Byte */ || + target.flags & 4 /* Integer */ || + target.flags & 32 /* Fixed */)) { + return true; + } + if (target instanceof LiteralType && this.value.kind === target.value.kind) + return true; + return this.isAssignableTo(target); + } + isBoolExpression(negation) { + return true; + } + isValidBinaryOperation(operation, rightType) { + let type; + if (this.value.kind === 1 /* NumericLiteral */) { + if (this.value.text.indexOf('.') !== -1) { + type = fixedType; + } + else { + type = integerType; + } + } + else if (this.value.kind === 2 /* StringLiteral */) { + type = stringType; + } + else { + return false; + } + return type.isValidBinaryOperation(operation, rightType); + } + isValidPrefixOperation(operation) { + let type; + if (this.value.kind === 1 /* NumericLiteral */) { + if (this.value.text.indexOf('.') !== -1) { + type = fixedType; + } + else { + type = integerType; + } + } + else if (this.value.kind === 2 /* StringLiteral */) { + type = stringType; + } + else { + return false; + } + return type.isValidPrefixOperation(operation); + } + getName() { + return `${this.value.text}`; + } } -function createArrayType(elementType) { - const type = createType(32768 /* Array */); - type.elementType = elementType; - return type; +exports.LiteralType = LiteralType; +class StructType extends AbstractType { + constructor(symbol) { + super(); + this.flags = 8192 /* Struct */; + this.symbol = symbol; + } + isAssignableTo(target) { + if (target instanceof ReferenceType && target.kind === 105 /* StructrefKeyword */ && this.symbol === target.declaredType.symbol) { + return true; + } + return false; + } + isComparableTo(target) { + if (this === target) + return true; + if (target instanceof StructType && target.symbol === this.symbol) + return true; + return false; + } + isBoolExpression(negation) { + return false; + } + getName() { + return this.symbol.escapedName; + } } -function createMappedType(returnType, referencedType) { - const type = createType(65536 /* Mapped */); - type.returnType = returnType; - type.referencedType = referencedType; - return type; +exports.StructType = StructType; +class SignatureMeta { + constructor(returnType, args) { + this.returnType = returnType; + this.args = args; + } + match(other) { + if (this.returnType !== other.returnType) + return false; + if (this.args.length !== other.args.length) + return false; + for (const [key, arg] of this.args.entries()) { + if (this.args[key] !== arg) + return false; + } + return true; + } +} +exports.SignatureMeta = SignatureMeta; +class FunctionType extends AbstractType { + constructor(symbol, signature) { + super(); + this.flags = 16384 /* Function */; + this.symbol = symbol; + this.signature = signature; + } + isAssignableTo(target) { + if (target instanceof ReferenceType && target.kind === 106 /* FuncrefKeyword */) { + if (this.symbol === target.declaredType.symbol) + return true; + if (this.signature.match(target.declaredType.signature)) + return true; + } + return false; + } + isComparableTo(target) { + if (this === target) + return true; + if (target instanceof FunctionType && target.symbol === this.symbol) + return true; + return false; + } + isBoolExpression(negation) { + if (negation) + return false; + return true; + } + getName() { + return this.symbol.escapedName; + } +} +exports.FunctionType = FunctionType; +class ReferenceType extends AbstractType { + constructor(kind, declaredType) { + super(); + this.flags = 262144 /* Reference */; + this.kind = kind; + this.declaredType = declaredType; + // this.symbol = symbol; + } + isAssignableTo(target) { + if (target instanceof ReferenceType && this.kind === target.kind) { + return this.declaredType.isAssignableTo(this); + } + return false; + } + isComparableTo(target) { + return false; + } + isBoolExpression(negation) { + return false; + } + getName() { + return scanner_1.tokenToString(this.kind) + '<' + this.declaredType.getName() + '>'; + } +} +exports.ReferenceType = ReferenceType; +class ArrayType extends AbstractType { + constructor(elementType) { + super(); + this.flags = 65536 /* Array */; + this.elementType = elementType; + } + isAssignableTo(target) { + if (target instanceof ReferenceType && target.kind === 104 /* ArrayrefKeyword */) { + if (this.elementType === target.declaredType.elementType) + return true; + } + } + isComparableTo(target) { + return false; + } + isBoolExpression(negation) { + return false; + } + getName() { + return this.elementType.getName() + '[]'; + } } -function createComplexType(kind) { - const type = createType(16384 /* Complex */); - type.kind = kind; - return type; +exports.ArrayType = ArrayType; +class TypedefType extends AbstractType { + constructor(referencedType) { + super(); + this.flags = 2097152 /* Typedef */; + this.referencedType = referencedType; + } + isAssignableTo(target) { + return false; + } + isComparableTo(target) { + return false; + } + isBoolExpression(negation) { + return false; + } + getName() { + return this.referencedType.getName(); + } } +exports.TypedefType = TypedefType; function createSymbol(flags, name) { const symbol = { flags: flags, @@ -83,26 +500,24 @@ function createSymbol(flags, name) { }; return symbol; } -const unknownType = createIntrinsicType(1 /* Any */, "unknown"); -const nullType = createIntrinsicType(2048 /* Null */, "null"); -const stringType = createIntrinsicType(2 /* String */, "string"); -const integerType = createIntrinsicType(4 /* Integer */, "integer"); -const fixedType = createIntrinsicType(8 /* Fixed */, "fixed"); -const trueType = createIntrinsicType(256 /* BooleanLiteral */, "true"); -const falseType = createIntrinsicType(256 /* BooleanLiteral */, "false"); -// const booleanType = createBooleanType([trueType, falseType]); -const voidType = createIntrinsicType(1024 /* Void */, "void"); -const funcrefType = createIntrinsicType(131072 /* Funcref */, "funcref"); -const arrayrefType = createIntrinsicType(262144 /* Arrayref */, "arrayref"); -const structrefType = createIntrinsicType(524288 /* Structref */, "structref"); -const complexTypes = []; -complexTypes[97 /* UnitKeyword */] = createComplexType(97 /* UnitKeyword */); +const unknownType = new UnknownType(); +const nullType = new IntrinsicType(4096 /* Null */ | 128 /* Nullable */, "null"); +const boolType = new IntrinsicType(64 /* Boolean */, "bool"); +const trueType = new IntrinsicType(64 /* Boolean */, "true"); +const falseType = new IntrinsicType(64 /* Boolean */, "false"); +const stringType = new IntrinsicType(2 /* String */ | 128 /* Nullable */, "string"); +const integerType = new IntrinsicType(4 /* Integer */, "integer"); +const byteType = new IntrinsicType(8 /* Byte */, "byte"); +const fixedType = new IntrinsicType(32 /* Fixed */, "fixed"); +const voidType = new IntrinsicType(2048 /* Void */, "void"); +const complexTypes = generateComplexTypes(); function generateComplexTypes() { const map = new Map(); - for (let i = 72 /* FirstComplexType */; i <= 104 /* LastComplexType */; i++) { + for (let i = 72 /* FirstComplexType */; i <= 103 /* LastComplexType */; i++) { const ckind = i; - map.set(ckind, createComplexType(ckind)); + map.set(ckind, new ComplexType(ckind)); } + return map; } // const undefinedSymbol = createSymbol(gt.SymbolFlags.None, "undefined") class TypeChecker { @@ -112,36 +527,50 @@ class TypeChecker { this.store = store; } report(location, msg, category = gt.DiagnosticCategory.Error) { - this.diagnostics.push(utils_1.createDiagnosticForNode(location, category, msg)); + this.diagnostics.push(utils_2.createDiagnosticForNode(location, category, msg)); } getNodeLinks(node) { const nodeId = getNodeId(node); return this.nodeLinks[nodeId] || (this.nodeLinks[nodeId] = { flags: 0 }); } + checkTypeAssignableTo(source, target, node) { + if (!source.isAssignableTo(target)) { + this.report(node, 'Type \'' + source.getName() + '\' is not assignable to type \'' + target.getName() + '\''); + } + } + checkTypeComparableTo(source, target, node) { + if (!source.isComparableTo(target)) { + this.report(node, 'Type \'' + source.getName() + '\' is not comparable to type \'' + target.getName() + '\''); + } + } + checkTypeBoolExpression(source, negation, node) { + if (!source.isBoolExpression(negation)) { + this.report(node, 'Type \'' + source.getName() + '\' can not be used as boolean expression'); + } + } getTypeFromArrayTypeNode(node) { const links = this.getNodeLinks(node); if (!links.resolvedType) { - links.resolvedType = createArrayType(this.getTypeFromTypeNode(node.elementType)); + links.resolvedType = new ArrayType(this.getTypeFromTypeNode(node.elementType)); } return links.resolvedType; } getTypeFromMappedTypeNode(node) { const links = this.getNodeLinks(node); if (!links.resolvedType) { - links.resolvedType = createMappedType(this.getTypeFromTypeNode(node.returnType), this.getTypeFromTypeNode(node.typeArguments[0])); + links.resolvedType = new ReferenceType(node.returnType.kind, node.typeArguments.length ? this.getTypeFromTypeNode(node.typeArguments[0]) : unknownType); } return links.resolvedType; } resolveMappedReference(type) { - if (type.flags & 65536 /* Mapped */ && (type.returnType.flags & 524288 /* Structref */ || - type.returnType.flags & 131072 /* Funcref */)) { - type = type.referencedType; + if (type.flags & 262144 /* Reference */) { + type = type.declaredType; } return type; } getPropertyOfType(type, name) { type = this.resolveMappedReference(type); - if (type && type.flags & 4096 /* Struct */) { + if (type && type.flags & 8192 /* Struct */) { if (type.symbol.members.has(name)) { return type.symbol.members.get(name); } @@ -149,7 +578,20 @@ class TypeChecker { return undefined; } getDeclaredTypeOfStruct(symbol) { - return createStructType(symbol); + // TODO: persist in map + return new StructType(symbol); + } + getTypeOfFunction(symbol) { + const fnDecl = symbol.declarations[0]; + const signature = new SignatureMeta(this.getTypeFromTypeNode(fnDecl.type), fnDecl.parameters.map((param) => { + return this.getTypeFromTypeNode(param.type); + })); + // TODO: persist in map + return new FunctionType(symbol, signature); + } + getTypeOfTypedef(symbol) { + const refType = this.getTypeFromTypeNode(symbol.declarations[0].type); + return new TypedefType(refType); } getDeclaredTypeOfSymbol(symbol) { if (symbol.flags & (64 /* Struct */)) { @@ -173,33 +615,25 @@ class TypeChecker { return stringType; case 69 /* IntKeyword */: return integerType; + case 67 /* ByteKeyword */: + return byteType; case 70 /* FixedKeyword */: return fixedType; - // case gt.SyntaxKind.BooleanKeyword: - // return booleanType; - case 101 /* VoidKeyword */: + case 66 /* BoolKeyword */: + return boolType; + case 100 /* VoidKeyword */: return voidType; case 64 /* NullKeyword */: return nullType; - case 107 /* FuncrefKeyword */: - return funcrefType; - case 105 /* ArrayrefKeyword */: - return arrayrefType; - case 106 /* StructrefKeyword */: - return structrefType; - case 97 /* UnitKeyword */: - return complexTypes[node.kind]; // case gt.SyntaxKind.LiteralType: // return getTypeFromLiteralTypeNode(node); - // case gt.SyntaxKind.TypeReference: - // return getTypeFromTypeReference(node); - case 112 /* ArrayType */: + case 111 /* ArrayType */: return this.getTypeFromArrayTypeNode(node); - case 111 /* MappedType */: + case 110 /* MappedType */: return this.getTypeFromMappedTypeNode(node); // case gt.SyntaxKind.IndexedAccessType: // return getTypeFromIndexedAccessTypeNode(node); - case 108 /* Identifier */: + case 107 /* Identifier */: const symbol = this.getSymbolAtLocation(node); if (symbol) { return this.getDeclaredTypeOfSymbol(symbol); @@ -208,6 +642,9 @@ class TypeChecker { return unknownType; } default: + if (utils_1.isComplexTypeKind(node.kind)) { + return complexTypes.get(node.kind); + } return unknownType; } } @@ -226,18 +663,11 @@ class TypeChecker { getTypeOfVariableOrParameterOrProperty(symbol) { return this.getTypeFromTypeNode(symbol.declarations[0].type); } - getTypeOfFunction(symbol) { - return createFunctionType(symbol); - } - getTypeOfTypedef(symbol) { - const refType = this.getTypeFromTypeNode(symbol.declarations[0].type); - return createTypedefType(refType); - } getTypeOfNode(node, followRef = false) { // if (isPartOfTypeNode(node)) { // return this.getTypeFromTypeNode(node); // } - if (utils_1.isPartOfExpression(node)) { + if (utils_2.isPartOfExpression(node)) { let type = this.getRegularTypeOfExpression(node); if (followRef) { type = this.resolveMappedReference(type); @@ -273,33 +703,37 @@ class TypeChecker { } checkSourceElement(node) { switch (node.kind) { - case 123 /* Block */: + case 122 /* Block */: return this.checkBlock(node); - case 136 /* FunctionDeclaration */: + case 135 /* FunctionDeclaration */: return this.checkFunction(node); - case 135 /* VariableDeclaration */: - case 138 /* PropertyDeclaration */: + case 134 /* VariableDeclaration */: + case 137 /* PropertyDeclaration */: return this.checkVariableDeclaration(node); - case 134 /* StructDeclaration */: + case 136 /* ParameterDeclaration */: + return this.checkParameterDeclaration(node); + case 133 /* StructDeclaration */: return this.checkStructDeclaration(node); - case 132 /* ExpressionStatement */: + case 131 /* ExpressionStatement */: return this.checkExpressionStatement(node); - case 124 /* IfStatement */: + case 123 /* IfStatement */: return this.checkIfStatement(node); - case 127 /* ForStatement */: + case 126 /* ForStatement */: return this.checkForStatement(node); - case 126 /* WhileStatement */: - case 125 /* DoStatement */: + case 125 /* WhileStatement */: + case 124 /* DoStatement */: return this.checkWhileStatement(node); - case 128 /* BreakStatement */: - case 129 /* ContinueStatement */: + case 127 /* BreakStatement */: + case 128 /* ContinueStatement */: return this.checkBreakOrContinueStatement(node); - case 131 /* ReturnStatement */: + case 130 /* ReturnStatement */: return this.checkReturnStatement(node); - case 111 /* MappedType */: + case 110 /* MappedType */: return this.checkMappedType(node); - case 112 /* ArrayType */: + case 111 /* ArrayType */: return this.checkArrayType(node); + case 107 /* Identifier */: + return this.checkIdentifier(node); } } checkFunction(node) { @@ -309,17 +743,27 @@ class TypeChecker { this.checkSourceElement(node.body); } } + checkParameterDeclaration(node) { + this.checkSourceElement(node.type); + const type = this.getTypeFromTypeNode(node.type); + if (type instanceof StructType || type instanceof FunctionType) { + this.report(node.type, 'Can only pass basic types'); + } + } checkVariableDeclaration(node) { this.checkSourceElement(node.type); if (node.initializer) { - this.checkExpression(node.initializer); + const varType = this.getTypeFromTypeNode(node.type); + const exprType = this.checkExpression(node.initializer); + this.checkTypeAssignableTo(exprType, varType, node.initializer); } } checkStructDeclaration(node) { node.members.forEach(this.checkSourceElement.bind(this)); } checkIfStatement(node) { - this.checkExpression(node.expression); + const exprType = this.checkExpression(node.expression); + this.checkTypeBoolExpression(exprType, false, node.expression); this.checkSourceElement(node.thenStatement); if (node.elseStatement) { this.checkSourceElement(node.elseStatement); @@ -330,7 +774,8 @@ class TypeChecker { this.checkExpression(node.initializer); } if (node.condition) { - this.checkExpression(node.condition); + const exprType = this.checkExpression(node.condition); + this.checkTypeBoolExpression(exprType, false, node.condition); } if (node.incrementor) { this.checkExpression(node.incrementor); @@ -339,27 +784,66 @@ class TypeChecker { } checkWhileStatement(node) { if (node.expression) { - this.checkExpression(node.expression); + const exprType = this.checkExpression(node.expression); + this.checkTypeBoolExpression(exprType, false, node.expression); } this.checkSourceElement(node.statement); } checkBreakOrContinueStatement(node) { - // TODO: report when used outside of loop + const loop = utils_2.findAncestor(node, (parent) => { + switch (parent.kind) { + case 126 /* ForStatement */: + case 125 /* WhileStatement */: + case 124 /* DoStatement */: + return true; + } + return false; + }); + if (!loop) { + this.report(node, `${scanner_1.tokenToString(node.syntaxTokens[0].kind)} statement used outside of loop boundaries`); + } } checkReturnStatement(node) { + const fn = utils_2.findAncestorByKind(node, 135 /* FunctionDeclaration */); + const rtype = this.getTypeFromTypeNode(fn.type); + if (rtype.flags & 2048 /* Void */ && node.expression) { + this.report(node.expression, 'Unexpected value returned for void function'); + } + else if (!(rtype.flags & 2048 /* Void */) && !node.expression) { + this.report(node.expression, 'Expected a return value'); + } if (node.expression) { - this.checkExpression(node.expression); + const exprType = this.checkExpression(node.expression); + this.checkTypeAssignableTo(exprType, rtype, node.expression); } - // TODO: report when used with expr on void func } checkArrayType(node) { this.checkExpression(node.size); this.checkSourceElement(node.elementType); } checkMappedType(node) { - this.checkExpression(node.returnType); - if (node.typeArguments) { - node.typeArguments.forEach(this.checkSourceElement.bind(this)); + if (!utils_2.isReferenceKeywordKind(node.returnType.kind)) { + this.report(node.returnType, 'Invalid keyword for reference type provided. Use funcref, arrayref or structref'); + } + if (node.typeArguments.length !== 1) { + this.report(node, 'Expected exactly 1 argument'); + } + node.typeArguments.forEach(this.checkSourceElement.bind(this)); + const type = this.getTypeFromMappedTypeNode(node); + let invalid = false; + switch (type.kind) { + case 105 /* StructrefKeyword */: + invalid = !(type.declaredType.flags & 8192 /* Struct */); + break; + case 106 /* FuncrefKeyword */: + invalid = !(type.declaredType.flags & 16384 /* Function */); + break; + case 104 /* ArrayrefKeyword */: + invalid = !(type.declaredType.flags & 65536 /* Array */); + break; + } + if (invalid) { + this.report(node, 'Type \'' + type.declaredType.getName() + '\' cannot be used here.'); } } checkBlock(node) { @@ -378,42 +862,79 @@ class TypeChecker { } checkExpressionWorker(node, checkMode) { switch (node.kind) { - case 108 /* Identifier */: + case 107 /* Identifier */: return this.checkIdentifier(node); - // case gt.SyntaxKind.NullKeyword: - // return nullWideningType; - // case gt.SyntaxKind.StringLiteral: - // case gt.SyntaxKind.NumericLiteral: - // case gt.SyntaxKind.TrueKeyword: - // case gt.SyntaxKind.FalseKeyword: - // return checkLiteralExpression(node); - case 115 /* PropertyAccessExpression */: + case 64 /* NullKeyword */: + return nullType; + case 2 /* StringLiteral */: + case 1 /* NumericLiteral */: + case 62 /* TrueKeyword */: + case 63 /* FalseKeyword */: + return this.checkLiteralExpression(node); + case 114 /* PropertyAccessExpression */: return this.checkPropertyAccessExpression(node); - case 114 /* ElementAccessExpression */: + case 113 /* ElementAccessExpression */: return this.checkIndexedAccess(node); - case 116 /* CallExpression */: + case 115 /* CallExpression */: return this.checkCallExpression(node); - case 121 /* ParenthesizedExpression */: + case 120 /* ParenthesizedExpression */: return this.checkParenthesizedExpression(node, checkMode); - case 117 /* PrefixUnaryExpression */: + case 116 /* PrefixUnaryExpression */: return this.checkPrefixUnaryExpression(node); - case 118 /* PostfixUnaryExpression */: + case 117 /* PostfixUnaryExpression */: return this.checkPostfixUnaryExpression(node); - case 119 /* BinaryExpression */: + case 118 /* BinaryExpression */: return this.checkBinaryExpression(node, checkMode); } return unknownType; } + checkLiteralExpression(node) { + switch (node.kind) { + case 2 /* StringLiteral */: + return new LiteralType(256 /* StringLiteral */, node); + case 1 /* NumericLiteral */: + return new LiteralType(512 /* NumericLiteral */, node); + case 62 /* TrueKeyword */: + return trueType; + case 63 /* FalseKeyword */: + return falseType; + } + } checkBinaryExpression(node, checkMode) { const leftType = this.checkExpression(node.left); const rightType = this.checkExpression(node.right); + if (utils_2.isAssignmentOperator(node.operatorToken.kind)) { + this.checkTypeAssignableTo(rightType, leftType, node.right); + } + else if (utils_2.isComparisonOperator(node.operatorToken.kind)) { + this.checkTypeComparableTo(rightType, leftType, node.right); + return boolType; + } + else if (node.operatorToken.kind === 34 /* BarBarToken */ || node.operatorToken.kind === 33 /* AmpersandAmpersandToken */) { + this.checkTypeAssignableTo(leftType, boolType, node.left); + this.checkTypeAssignableTo(rightType, boolType, node.right); + return boolType; + } + else { + const valid = leftType.isValidBinaryOperation(node.operatorToken.kind, rightType); + if (!valid) { + this.report(node, `Binary '${scanner_1.tokenToString(node.operatorToken.kind)}' operation not supported between '${leftType.getName()}' type and '${rightType.getName()}' type`); + } + } return leftType; } checkParenthesizedExpression(node, checkMode) { return this.checkExpression(node.expression); } checkPrefixUnaryExpression(node, checkMode) { - return this.checkExpression(node.operand); + const type = this.checkExpression(node.operand); + if (!type.isValidPrefixOperation(node.operator.kind)) { + this.report(node, `Prefix '${scanner_1.tokenToString(node.operator.kind)}' operation not supported for '${type.getName()}' type`); + } + // if (node.operator.kind === gt.SyntaxKind.ExclamationToken) { + // this.checkTypeBoolExpression(type, true, node.operand); + // } + return type; } checkPostfixUnaryExpression(node, checkMode) { return this.checkExpression(node.operand); @@ -428,29 +949,41 @@ class TypeChecker { } checkCallExpression(node) { const leftType = this.checkExpression(node.expression); + let returnType = leftType; + let func; if (leftType != unknownType) { let fnType = leftType; - if (fnType.flags & 65536 /* Mapped */) { + if (fnType.flags & 262144 /* Reference */) { fnType = this.resolveMappedReference(fnType); } - if (fnType.flags & 8192 /* Function */) { - const func = fnType.symbol.declarations[0]; + if (fnType.flags & 16384 /* Function */) { + func = fnType.symbol.declarations[0]; if (node.arguments.length !== func.parameters.length) { this.report(node, `expected ${func.parameters.length} arguments, got ${node.arguments.length}`); } + returnType = this.getTypeFromTypeNode(func.type); } else { this.report(node, 'not calllable'); + returnType = unknownType; } } - node.arguments.forEach(this.checkExpression.bind(this)); - return leftType; + if (func) { + for (const [key, arg] of node.arguments.entries()) { + const exprType = this.checkExpression(arg); + if (func.parameters.length > key) { + const expectedType = this.getTypeFromTypeNode(func.parameters[key].type); + this.checkTypeAssignableTo(exprType, expectedType, arg); + } + } + } + return returnType; } checkNonNullExpression(node) { return this.checkNonNullType(this.checkExpression(node), node); } checkNonNullType(type, errorNode) { - const kind = type.flags & 2048 /* Nullable */; + const kind = type.flags & 128 /* Nullable */; if (kind) { // TODO: // this.error(errorNode, 'cannot be null'); @@ -460,10 +993,15 @@ class TypeChecker { return type; } checkIndexedAccess(node) { - const objectType = this.checkNonNullExpression(node.expression); + let objectType = this.checkNonNullExpression(node.expression); const indexType = this.checkExpression(node.argumentExpression); - // TODO: check if index is number - if (objectType.flags & 32768 /* Array */) { + if (!(indexType.flags & 4 /* Integer */) && !(indexType.flags & 512 /* NumericLiteral */)) { + this.report(node.argumentExpression, 'Array index require an integer value'); + } + if (objectType.flags & 262144 /* Reference */) { + objectType = this.resolveMappedReference(objectType); + } + if (objectType.flags & 65536 /* Array */) { return objectType.elementType; } else { @@ -486,8 +1024,8 @@ class TypeChecker { } resolveName(location, name, nameNotFoundMessage) { if (location) { - const currentContext = utils_1.findAncestor(location, (element) => { - return element.kind === 136 /* FunctionDeclaration */; + const currentContext = utils_2.findAncestor(location, (element) => { + return element.kind === 135 /* FunctionDeclaration */; }); if (currentContext && currentContext.symbol.members.has(name)) { return currentContext.symbol.members.get(name); @@ -507,7 +1045,7 @@ class TypeChecker { // } // TODO: ^ let symbol; - if (entityName.kind === 108 /* Identifier */) { + if (entityName.kind === 107 /* Identifier */) { symbol = this.resolveName(location || entityName, entityName.name, ignoreErrors ? undefined : 'symbol referenced but not declared'); if (!symbol) { return undefined; @@ -565,14 +1103,14 @@ class TypeChecker { // } // TODO: ^ let type; - if (utils_1.isRightSideOfPropertyAccess(entityName)) { + if (utils_2.isRightSideOfPropertyAccess(entityName)) { entityName = entityName.parent; } - if (utils_1.isPartOfExpression(entityName)) { - if (entityName.kind === 108 /* Identifier */) { + if (utils_2.isPartOfExpression(entityName)) { + if (entityName.kind === 107 /* Identifier */) { return this.resolveEntityName(entityName, null, false); } - else if (entityName.kind === 115 /* PropertyAccessExpression */) { + else if (entityName.kind === 114 /* PropertyAccessExpression */) { const links = this.getNodeLinks(entityName); if (links.resolvedSymbol) { return links.resolvedSymbol; @@ -587,8 +1125,8 @@ class TypeChecker { // } getSymbolAtLocation(node) { switch (node.kind) { - case 108 /* Identifier */: - case 115 /* PropertyAccessExpression */: + case 107 /* Identifier */: + case 114 /* PropertyAccessExpression */: return this.getSymbolOfEntityNameOrPropertyAccessExpression(node); } // if (node.kind === gt.SyntaxKind.Identifier) { diff --git a/lib/compiler/checker.js.map b/lib/compiler/checker.js.map index 9664e08..33c7495 100644 --- a/lib/compiler/checker.js.map +++ b/lib/compiler/checker.js.map @@ -1 +1 @@ -{"version":3,"file":"checker.js","sourceRoot":"","sources":["../../src/compiler/checker.ts"],"names":[],"mappings":";;AAAA,8BAA8B;AAC9B,mCAAkJ;AAGlJ,IAAI,YAAY,GAAG,CAAC,CAAC;AACrB,IAAI,UAAU,GAAG,CAAC,CAAC;AACnB,IAAI,WAAW,GAAG,CAAC,CAAC;AACpB,IAAI,UAAU,GAAG,CAAC,CAAC;AAEnB,mBAA0B,IAAa;IACnC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;QACX,IAAI,CAAC,EAAE,GAAG,UAAU,CAAC;QACrB,UAAU,EA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I,CAAC,EAAE,CAAC,CAAC,UAAU,CAAC,IAAI,uCAA2C,CAAC,CAAC,CAAC;gBAClE,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;gBAC5C,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;oBACvB,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC;gBAChC,CAAC;gBACD,IAAI,CAAC,6BAA6B,CAA8B,UAAU,CAAC,CAAC,MAAM,CAAC;gBACnF,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC;YAChC,CAAC;QACL,CAAC;QAED,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC5C,CAAC;IAED,oDAAoD;IACpD,IAAI;IAEG,mBAAmB,CAAC,IAAa;QACpC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;YAChB,0BAA8B;YAC9B;gBACI,MAAM,CAAC,IAAI,CAAC,+CAA+C,CAA8C,IAAI,CAAC,CAAC;QACvH,CAAC;QACD,gDAAgD;QAChD,oCAAoC;QACpC,IAAI;IACR,CAAC;CACJ;AAxjBD,kCAwjBC"} \ No newline at end of file +{"version":3,"file":"checker.js","sourceRoot":"","sources":["../../src/compiler/checker.ts"],"names":[],"mappings":";;AACA,8BAA8B;AAC9B,6CAAsD;AACtD,mCAA0O;AAE1O,uCAA0C;AAE1C,IAAI,YAAY,GAAG,CAAC,CAAC;AACrB,IAAI,UAAU,GAAG,CAAC,CAAC;AACnB,IAAI,WAAW,GAAG,CAAC,CAAC;AACpB,IAAI,UAAU,GAAG,CAAC,CAAC;AAEnB,mBAA0B,IAAa;IACnC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;QACX,IAAI,CAAC,EAAE,GAAG,UAAU,CAAC;QACrB,UAAU,EAAE,CAAC;IACjB,CAAC;IACD,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;AACnB,CA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QAED,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC5C,CAAC;IAED,oDAAoD;IACpD,IAAI;IAEG,mBAAmB,CAAC,IAAa;QACpC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;YAChB,0BAA8B;YAC9B;gBACI,MAAM,CAAC,IAAI,CAAC,+CAA+C,CAA8C,IAAI,CAAC,CAAC;QACvH,CAAC;QACD,gDAAgD;QAChD,oCAAoC;QACpC,IAAI;IACR,CAAC;CACJ;AAhsBD,kCAgsBC"} \ No newline at end of file diff --git a/lib/compiler/parser.js b/lib/compiler/parser.js index 6c85137..c8cc55e 100644 --- a/lib/compiler/parser.js +++ b/lib/compiler/parser.js @@ -150,7 +150,7 @@ class Parser { return node; } isListTerminator(kind) { - if (this.token() === 109 /* EndOfFileToken */) { + if (this.token() === 108 /* EndOfFileToken */) { // Being at the end of the file ends all lists. return true; } @@ -267,11 +267,11 @@ class Parser { while (this.token() === 52 /* ConstKeyword */ || this.token() === 51 /* StaticKeyword */) { this.nextToken(); } - if (!utils_1.isKeywordTypeKind(this.token()) && this.token() !== 108 /* Identifier */) { + if (!utils_1.isKeywordTypeKind(this.token()) && this.token() !== 107 /* Identifier */) { return false; } this.parseTypeDefinition(); - if (this.token() !== 108 /* Identifier */) { + if (this.token() !== 107 /* Identifier */) { return false; } this.nextToken(); @@ -284,11 +284,11 @@ class Parser { while (this.token() === 53 /* NativeKeyword */ || this.token() === 51 /* StaticKeyword */) { this.nextToken(); } - if (!utils_1.isKeywordTypeKind(this.token()) && this.token() !== 108 /* Identifier */) { + if (!utils_1.isKeywordTypeKind(this.token()) && this.token() !== 107 /* Identifier */) { return false; } this.parseTypeDefinition(); - if (this.token() !== 108 /* Identifier */) { + if (this.token() !== 107 /* Identifier */) { return false; } this.nextToken(); @@ -317,7 +317,7 @@ class Parser { if (this.isBinaryOperator()) { return true; } - return this.token() === 108 /* Identifier */; + return this.token() === 107 /* Identifier */; } } isStartOfStatement() { @@ -361,7 +361,7 @@ class Parser { return false; } isStartOfTypeDefinition() { - return utils_1.isKeywordTypeKind(this.token()) || this.token() === 108 /* Identifier */; + return utils_1.isKeywordTypeKind(this.token()) || this.token() === 107 /* Identifier */; } isStartOfParameter() { return this.isStartOfTypeDefinition(); @@ -378,21 +378,21 @@ class Parser { return this.finishNode(node); } parseInclude() { - const node = this.createNode(130 /* IncludeStatement */); + const node = this.createNode(129 /* IncludeStatement */); this.parseExpected(49 /* IncludeKeyword */); node.path = this.parseLiteral(2 /* StringLiteral */); return this.finishNode(node); } parseIdentifier(diagnosticMessage) { - const identifier = this.createNode(108 /* Identifier */); - this.parseExpected(108 /* Identifier */, diagnosticMessage, false); + const identifier = this.createNode(107 /* Identifier */); + this.parseExpected(107 /* Identifier */, diagnosticMessage, false); identifier.name = this.scanner.getTokenValue(); this.nextToken(); return this.finishNode(identifier); } parseTypeDefinition() { let baseType; - if (this.token() === 108 /* Identifier */) { + if (this.token() === 107 /* Identifier */) { baseType = this.parseIdentifier(); } else if (utils_1.isKeywordTypeKind(this.token())) { @@ -400,10 +400,10 @@ class Parser { } else { this.parseErrorAtCurrentToken('expected identifier or keyword'); - baseType = this.createMissingNode(108 /* Identifier */); + baseType = this.createMissingNode(107 /* Identifier */); } while (this.token() === 7 /* OpenBracketToken */) { - let arrayType = this.createNode(112 /* ArrayType */, baseType.pos); + let arrayType = this.createNode(111 /* ArrayType */, baseType.pos); this.parseExpected(7 /* OpenBracketToken */); arrayType.size = this.parseExpression(); arrayType.elementType = baseType; @@ -412,7 +412,7 @@ class Parser { } if (utils_1.isReferenceKeywordKind(baseType.kind)) { if (this.token() === 12 /* LessThanToken */) { - const mappedType = this.createNode(111 /* MappedType */, baseType.pos); + const mappedType = this.createNode(110 /* MappedType */, baseType.pos); mappedType.returnType = baseType; mappedType.typeArguments = this.parseBracketedList(4 /* TypeArguments */, this.parseTypeDefinition.bind(this), 12 /* LessThanToken */, 13 /* GreaterThanToken */); baseType = this.finishNode(mappedType); @@ -421,20 +421,20 @@ class Parser { return baseType; } parseParameter() { - const param = this.createNode(137 /* ParameterDeclaration */); + const param = this.createNode(136 /* ParameterDeclaration */); param.type = this.parseTypeDefinition(); param.name = this.parseIdentifier(); return this.finishNode(param); } parsePropertyDeclaration() { - const property = this.createNode(138 /* PropertyDeclaration */); + const property = this.createNode(137 /* PropertyDeclaration */); property.type = this.parseTypeDefinition(); property.name = this.parseIdentifier(); this.parseExpected(10 /* SemicolonToken */); return this.finishNode(property); } parseStructDeclaration() { - const node = this.createNode(134 /* StructDeclaration */); + const node = this.createNode(133 /* StructDeclaration */); this.parseExpected(50 /* StructKeyword */); node.name = this.parseIdentifier(); this.parseExpected(3 /* OpenBraceToken */); @@ -452,7 +452,7 @@ class Parser { return mods; } parseFunctionDeclaration() { - const func = this.createNode(136 /* FunctionDeclaration */); + const func = this.createNode(135 /* FunctionDeclaration */); func.modifiers = this.parseModifiers(); func.type = this.parseTypeDefinition(); func.name = this.parseIdentifier(); @@ -466,7 +466,7 @@ class Parser { return this.finishNode(func); } parseVariableDeclaration() { - const variable = this.createNode(135 /* VariableDeclaration */); + const variable = this.createNode(134 /* VariableDeclaration */); variable.modifiers = this.parseModifiers(); variable.type = this.parseTypeDefinition(); variable.name = this.parseIdentifier(); @@ -478,7 +478,7 @@ class Parser { return this.finishNode(variable); } parseBlock() { - const node = this.createNode(123 /* Block */); + const node = this.createNode(122 /* Block */); this.parseExpected(3 /* OpenBraceToken */); node.statements = this.parseList(1 /* BlockStatements */, this.parseStatement.bind(this)); this.parseExpected(4 /* CloseBraceToken */); @@ -505,14 +505,14 @@ class Parser { case 1 /* NumericLiteral */: case 2 /* StringLiteral */: case 5 /* OpenParenToken */: - case 108 /* Identifier */: + case 107 /* Identifier */: return true; default: return false; } } makeBinaryExpression(left, operatorToken, right) { - const node = this.createNode(119 /* BinaryExpression */, left.pos); + const node = this.createNode(118 /* BinaryExpression */, left.pos); node.left = left; node.operatorToken = operatorToken; node.right = right; @@ -571,7 +571,7 @@ class Parser { return this.parseIdentifier('expression expected'); } parseParenthesizedExpression() { - const node = this.createNode(121 /* ParenthesizedExpression */); + const node = this.createNode(120 /* ParenthesizedExpression */); this.parseExpected(5 /* OpenParenToken */); node.expression = this.parseExpression(); this.parseExpected(6 /* CloseParenToken */); @@ -584,7 +584,7 @@ class Parser { parseMemberExpressionRest(expression) { while (true) { if (this.token() === 9 /* DotToken */) { - const propertyAccess = this.createNode(115 /* PropertyAccessExpression */, expression.pos); + const propertyAccess = this.createNode(114 /* PropertyAccessExpression */, expression.pos); this.parseExpected(9 /* DotToken */); propertyAccess.expression = expression; propertyAccess.name = this.parseIdentifier(); @@ -592,7 +592,7 @@ class Parser { continue; } if (this.token() === 7 /* OpenBracketToken */) { - const indexedAccess = this.createNode(114 /* ElementAccessExpression */, expression.pos); + const indexedAccess = this.createNode(113 /* ElementAccessExpression */, expression.pos); this.parseExpected(7 /* OpenBracketToken */); indexedAccess.expression = expression; indexedAccess.argumentExpression = this.parseExpression(); @@ -607,7 +607,7 @@ class Parser { while (true) { expression = this.parseMemberExpressionRest(expression); if (this.token() === 5 /* OpenParenToken */) { - const callExpr = this.createNode(116 /* CallExpression */, expression.pos); + const callExpr = this.createNode(115 /* CallExpression */, expression.pos); callExpr.expression = expression; this.parseExpected(5 /* OpenParenToken */); callExpr.arguments = this.parseDelimitedList(5 /* ArgumentExpressions */, this.parseAssignmentExpressionOrHigher.bind(this)); @@ -626,7 +626,7 @@ class Parser { parseUpdateExpression() { if (this.token() === 24 /* PlusPlusToken */ || this.token() === 25 /* MinusMinusToken */) { this.parseErrorAtCurrentToken('unary increment operators not allowed'); - const node = this.createNode(117 /* PrefixUnaryExpression */); + const node = this.createNode(116 /* PrefixUnaryExpression */); node.operator = this.parseTokenNode(); node.operand = this.parseLeftHandSideExpressionOrHigher(); return this.finishNode(node); @@ -634,13 +634,13 @@ class Parser { const expression = this.parseLeftHandSideExpressionOrHigher(); if (!utils_1.isLeftHandSideExpression(expression)) { console.log(expression.kind); - console.log(121 /* ParenthesizedExpression */); - console.log(expression.kind === 121 /* ParenthesizedExpression */); + console.log(120 /* ParenthesizedExpression */); + console.log(expression.kind === 120 /* ParenthesizedExpression */); throw new Error('isLeftHandSideExpression = false'); } if ((this.token() === 24 /* PlusPlusToken */ || this.token() === 25 /* MinusMinusToken */)) { this.parseErrorAtCurrentToken('unary increment operators not supported'); - const node = this.createNode(118 /* PostfixUnaryExpression */, expression.pos); + const node = this.createNode(117 /* PostfixUnaryExpression */, expression.pos); node.operand = expression; node.operator = this.parseTokenNode(); return this.finishNode(node); @@ -648,7 +648,7 @@ class Parser { return expression; } parsePrefixUnaryExpression() { - const node = this.createNode(117 /* PrefixUnaryExpression */); + const node = this.createNode(116 /* PrefixUnaryExpression */); node.operator = this.parseTokenNode(); node.operand = this.parseSimpleUnaryExpression(); return this.finishNode(node); @@ -725,14 +725,14 @@ class Parser { return this.parseAssignmentExpressionOrHigher(); } parseTypedefDeclaration() { - const node = this.createNode(139 /* TypedefDeclaration */); + const node = this.createNode(138 /* TypedefDeclaration */); this.parseExpected(65 /* TypedefKeyword */); node.type = this.parseTypeDefinition(); node.name = this.parseIdentifier(); return this.finishNode(node); } parseReturnStatement() { - const node = this.createNode(131 /* ReturnStatement */); + const node = this.createNode(130 /* ReturnStatement */); this.parseExpected(56 /* ReturnKeyword */); if (this.token() !== 10 /* SemicolonToken */) { node.expression = this.parseExpression(); @@ -742,23 +742,23 @@ class Parser { } parseBreakOrContinueStatement(kind) { const node = this.createNode(kind); - this.parseExpected(kind === 128 /* BreakStatement */ ? 54 /* BreakKeyword */ : 55 /* ContinueKeyword */); + this.parseExpected(kind === 127 /* BreakStatement */ ? 54 /* BreakKeyword */ : 55 /* ContinueKeyword */); this.parseExpected(10 /* SemicolonToken */); return this.finishNode(node); } parseExpressionStatement() { - const node = this.createNode(132 /* ExpressionStatement */); + const node = this.createNode(131 /* ExpressionStatement */); node.expression = this.parseExpression(); this.parseExpected(10 /* SemicolonToken */); return this.finishNode(node); } parseEmptyStatement() { - const node = this.createNode(133 /* EmptyStatement */); + const node = this.createNode(132 /* EmptyStatement */); this.parseExpected(10 /* SemicolonToken */); return this.finishNode(node); } parseIfStatement() { - const node = this.createNode(124 /* IfStatement */); + const node = this.createNode(123 /* IfStatement */); this.parseExpected(60 /* IfKeyword */); this.parseExpected(5 /* OpenParenToken */); node.expression = this.parseExpression(); @@ -770,7 +770,7 @@ class Parser { return this.finishNode(node); } parseDoStatement() { - const node = this.createNode(125 /* DoStatement */); + const node = this.createNode(124 /* DoStatement */); this.parseExpected(57 /* DoKeyword */); node.statement = this.parseBlock(); this.parseExpected(59 /* WhileKeyword */); @@ -781,7 +781,7 @@ class Parser { return this.finishNode(node); } parseWhileStatement() { - const node = this.createNode(126 /* WhileStatement */); + const node = this.createNode(125 /* WhileStatement */); this.parseExpected(59 /* WhileKeyword */); this.parseExpected(5 /* OpenParenToken */); node.expression = this.parseExpression(); @@ -790,7 +790,7 @@ class Parser { return this.finishNode(node); } parseForStatement() { - const node = this.createNode(127 /* ForStatement */); + const node = this.createNode(126 /* ForStatement */); this.parseExpected(58 /* ForKeyword */); this.parseExpected(5 /* OpenParenToken */); if (this.token() !== 10 /* SemicolonToken */ && this.token() !== 6 /* CloseParenToken */) { @@ -825,14 +825,14 @@ class Parser { case 58 /* ForKeyword */: return this.parseForStatement(); case 55 /* ContinueKeyword */: - return this.parseBreakOrContinueStatement(129 /* ContinueStatement */); + return this.parseBreakOrContinueStatement(128 /* ContinueStatement */); case 54 /* BreakKeyword */: - return this.parseBreakOrContinueStatement(128 /* BreakStatement */); + return this.parseBreakOrContinueStatement(127 /* BreakStatement */); case 56 /* ReturnKeyword */: return this.parseReturnStatement(); case 65 /* TypedefKeyword */: return this.parseTypedefDeclaration(); - case 108 /* Identifier */: + case 107 /* Identifier */: case 52 /* ConstKeyword */: case 51 /* StaticKeyword */: case 53 /* NativeKeyword */: @@ -840,44 +840,43 @@ class Parser { case 73 /* ActorKeyword */: case 74 /* ActorscopeKeyword */: case 75 /* AifilterKeyword */: - case 76 /* AnimfilterKeyword */: - case 77 /* BankKeyword */: - case 78 /* BitmaskKeyword */: + case 76 /* BankKeyword */: + case 77 /* BitmaskKeyword */: case 66 /* BoolKeyword */: case 67 /* ByteKeyword */: - case 79 /* CamerainfoKeyword */: + case 78 /* CamerainfoKeyword */: case 68 /* CharKeyword */: - case 80 /* ColorKeyword */: - case 81 /* DoodadKeyword */: + case 79 /* ColorKeyword */: + case 80 /* DoodadKeyword */: case 70 /* FixedKeyword */: - case 82 /* HandleKeyword */: - case 83 /* GenerichandleKeyword */: - case 84 /* EffecthistoryKeyword */: + case 81 /* HandleKeyword */: + case 82 /* GenerichandleKeyword */: + case 83 /* EffecthistoryKeyword */: case 69 /* IntKeyword */: - case 85 /* MarkerKeyword */: - case 86 /* OrderKeyword */: - case 87 /* PlayergroupKeyword */: - case 88 /* PointKeyword */: - case 89 /* RegionKeyword */: - case 90 /* RevealerKeyword */: - case 91 /* SoundKeyword */: - case 92 /* SoundlinkKeyword */: + case 84 /* MarkerKeyword */: + case 85 /* OrderKeyword */: + case 86 /* PlayergroupKeyword */: + case 87 /* PointKeyword */: + case 88 /* RegionKeyword */: + case 89 /* RevealerKeyword */: + case 90 /* SoundKeyword */: + case 91 /* SoundlinkKeyword */: case 71 /* StringKeyword */: - case 93 /* TextKeyword */: - case 94 /* TimerKeyword */: - case 95 /* TransmissionsourceKeyword */: - case 96 /* TriggerKeyword */: - case 97 /* UnitKeyword */: - case 98 /* UnitfilterKeyword */: - case 99 /* UnitgroupKeyword */: - case 100 /* UnitrefKeyword */: - case 101 /* VoidKeyword */: - case 102 /* WaveKeyword */: - case 103 /* WaveinfoKeyword */: - case 104 /* WavetargetKeyword */: - case 105 /* ArrayrefKeyword */: - case 106 /* StructrefKeyword */: - case 107 /* FuncrefKeyword */: + case 92 /* TextKeyword */: + case 93 /* TimerKeyword */: + case 94 /* TransmissionsourceKeyword */: + case 95 /* TriggerKeyword */: + case 96 /* UnitKeyword */: + case 97 /* UnitfilterKeyword */: + case 98 /* UnitgroupKeyword */: + case 99 /* UnitrefKeyword */: + case 100 /* VoidKeyword */: + case 101 /* WaveKeyword */: + case 102 /* WaveinfoKeyword */: + case 103 /* WavetargetKeyword */: + case 104 /* ArrayrefKeyword */: + case 105 /* StructrefKeyword */: + case 106 /* FuncrefKeyword */: if (this.isStartOfFunctionDeclaration()) { return this.parseFunctionDeclaration(); } @@ -895,7 +894,7 @@ class Parser { parseFile(fileName, text) { this.scanner.setText(text); this.syntaxTokens = []; - this.sourceFile = this.createNode(122 /* SourceFile */, 0); + this.sourceFile = this.createNode(121 /* SourceFile */, 0); this.sourceFile.parseDiagnostics = []; this.sourceFile.bindDiagnostics = []; this.sourceFile.additionalSyntacticDiagnostics = []; diff --git a/lib/compiler/parser.js.map b/lib/compiler/parser.js.map index 2debb4d..4b21ed2 100644 --- a/lib/compiler/parser.js.map +++ b/lib/compiler/parser.js.map @@ -1 +1 @@ -{"version":3,"file":"parser.js","sourceRoot":"","sources":["../../src/compiler/parser.ts"],"names":[],"mappings":";;AAAA,iCAAiC;AAEjC,uCAAmD;AACnD,mCAAwK;AACxK,+CAAqD;AAErD,IAAW,cAOV;AAPD,WAAW,cAAc;IACrB,uEAAc,CAAA;IACd,yEAAe,CAAA;IACf,qEAAa,CAAA;IACb,+DAAU,CAAA;IACV,qEAAa,CAAA;IACb,iFAAmB,CAAA;AACvB,CAAC,EAPU,cAAc,KAAd,cAAc,QAOxB;AAED;IAwgCI;QArgCQ,mBAAc,GAAmB,CAAC,CAAC;QAsgCvC,IAAI,CAAC,OAAO,GAAG,IAAI,iBAAO,CAAC,CAAC,OAAgC,EAAE,GAAW,EAAE,MAAc,EAAE,EAAE;YACzF,IAAI,CAAC,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QAC5D,CAAC,CAAC,CAAC;IACP,CAAC;IArgCO,KAAK;QACT,MAAM,CAAC,IAAI,CAA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AAwB,EAAE,CAAC;QAE/C,CAAC;IACL,CAAC;IAQM,OAAO,CAAC,IAAY;QACvB,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAEM,SAAS,CAAC,QAAgB,EAAE,IAAY;QAC3C,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC3B,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QAEvB,IAAI,CAAC,UAAU,GAAqB,IAAI,CAAC,UAAU,uBAAwB,CAAC,CAAC,CAAC;QAC9E,IAAI,CAAC,UAAU,CAAC,gBAAgB,GAAG,EAAE,CAAC;QACtC,IAAI,CAAC,UAAU,CAAC,eAAe,GAAG,EAAE,CAAC;QACrC,IAAI,CAAC,UAAU,CAAC,8BAA8B,GAAG,EAAE,CAAC;QACpD,IAAI,CAAC,UAAU,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEpC,IAAI,CAAC,SAAS,EAAE,CAAC;QACjB,IAAI,CAAC,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,SAAS,yBAAgC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QAE3G,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACjC,IAAI,CAAC,UAAU,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;QACpD,IAAI,CAAC,UAAU,CAAC,IAAI,GAAG,IAAI,CAAC;QAE5B,6BAAqB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAEvC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;CACJ;AAtiCD,wBAsiCC"} \ No newline at end of file diff --git a/lib/compiler/printer.js b/lib/compiler/printer.js index 4876c32..c9559d9 100644 --- a/lib/compiler/printer.js +++ b/lib/compiler/printer.js @@ -39,7 +39,7 @@ class Printer { } emitNode(node) { switch (node.kind) { - case 136 /* FunctionDeclaration */: + case 135 /* FunctionDeclaration */: { const func = node; if (func.modifiers && func.modifiers.length > 0) { @@ -62,7 +62,7 @@ class Printer { this.newLine(); break; } - case 134 /* StructDeclaration */: + case 133 /* StructDeclaration */: { const struct = node; this.write('struct '); @@ -76,8 +76,8 @@ class Printer { this.newLine(); break; } - case 135 /* VariableDeclaration */: - case 138 /* PropertyDeclaration */: + case 134 /* VariableDeclaration */: + case 137 /* PropertyDeclaration */: { const variable = node; if (variable.modifiers && variable.modifiers.length > 0) { @@ -87,7 +87,7 @@ class Printer { this.emitNode(variable.type); this.write(' '); this.emitNode(variable.name); - if (variable.kind === 135 /* VariableDeclaration */ && variable.initializer) { + if (variable.kind === 134 /* VariableDeclaration */ && variable.initializer) { this.whitespace(' '); this.write('='); this.whitespace(' '); @@ -96,7 +96,7 @@ class Printer { this.write(';'); break; } - case 137 /* ParameterDeclaration */: + case 136 /* ParameterDeclaration */: { const param = node; if (param.modifiers && param.modifiers.length > 0) { @@ -108,7 +108,7 @@ class Printer { this.emitNode(param.name); break; } - case 139 /* TypedefDeclaration */: + case 138 /* TypedefDeclaration */: { const typedef = node; this.write('typedef '); @@ -118,7 +118,7 @@ class Printer { this.write(';'); break; } - case 108 /* Identifier */: + case 107 /* Identifier */: { const identifier = node; this.write(identifier.name); @@ -131,7 +131,7 @@ class Printer { this.write(literal.text); break; } - case 112 /* ArrayType */: + case 111 /* ArrayType */: { const type = node; this.emitNode(type.elementType); @@ -140,7 +140,7 @@ class Printer { this.write(']'); break; } - case 111 /* MappedType */: + case 110 /* MappedType */: { const type = node; this.emitNode(type.returnType); @@ -149,7 +149,7 @@ class Printer { this.write('>'); break; } - case 119 /* BinaryExpression */: + case 118 /* BinaryExpression */: { const expr = node; this.emitNode(expr.left); @@ -159,21 +159,21 @@ class Printer { this.emitNode(expr.right); break; } - case 117 /* PrefixUnaryExpression */: + case 116 /* PrefixUnaryExpression */: { const expr = node; this.emitNode(expr.operator); this.emitNode(expr.operand); break; } - case 118 /* PostfixUnaryExpression */: + case 117 /* PostfixUnaryExpression */: { const expr = node; this.emitNode(expr.operand); this.emitNode(expr.operator); break; } - case 121 /* ParenthesizedExpression */: + case 120 /* ParenthesizedExpression */: { const expr = node; this.write('('); @@ -181,7 +181,7 @@ class Printer { this.write(')'); break; } - case 116 /* CallExpression */: + case 115 /* CallExpression */: { const expr = node; this.emitNode(expr.expression); @@ -190,7 +190,7 @@ class Printer { this.write(')'); break; } - case 114 /* ElementAccessExpression */: + case 113 /* ElementAccessExpression */: { const expr = node; this.emitNode(expr.expression); @@ -199,7 +199,7 @@ class Printer { this.write(']'); break; } - case 115 /* PropertyAccessExpression */: + case 114 /* PropertyAccessExpression */: { const expr = node; this.emitNode(expr.expression); diff --git a/lib/compiler/scanner.js b/lib/compiler/scanner.js index 308f4ec..487c3c4 100644 --- a/lib/compiler/scanner.js +++ b/lib/compiler/scanner.js @@ -23,44 +23,43 @@ const textToTokenTable = new Map([ ["actor", 73 /* ActorKeyword */], ["actorscope", 74 /* ActorscopeKeyword */], ["aifilter", 75 /* AifilterKeyword */], - ["animfilter", 76 /* AnimfilterKeyword */], - ["bank", 77 /* BankKeyword */], + ["bank", 76 /* BankKeyword */], ["bool", 66 /* BoolKeyword */], - ["bitmask", 78 /* BitmaskKeyword */], + ["bitmask", 77 /* BitmaskKeyword */], ["byte", 67 /* ByteKeyword */], - ["camerainfo", 79 /* CamerainfoKeyword */], + ["camerainfo", 78 /* CamerainfoKeyword */], ["char", 68 /* CharKeyword */], - ["color", 80 /* ColorKeyword */], - ["doodad", 81 /* DoodadKeyword */], + ["color", 79 /* ColorKeyword */], + ["doodad", 80 /* DoodadKeyword */], ["fixed", 70 /* FixedKeyword */], - ["handle", 82 /* HandleKeyword */], - ["generichandle", 83 /* GenerichandleKeyword */], - ["effecthistory", 84 /* EffecthistoryKeyword */], + ["handle", 81 /* HandleKeyword */], + ["generichandle", 82 /* GenerichandleKeyword */], + ["effecthistory", 83 /* EffecthistoryKeyword */], ["int", 69 /* IntKeyword */], - ["marker", 85 /* MarkerKeyword */], - ["order", 86 /* OrderKeyword */], - ["playergroup", 87 /* PlayergroupKeyword */], - ["point", 88 /* PointKeyword */], - ["region", 89 /* RegionKeyword */], - ["revealer", 90 /* RevealerKeyword */], - ["sound", 91 /* SoundKeyword */], - ["soundlink", 92 /* SoundlinkKeyword */], + ["marker", 84 /* MarkerKeyword */], + ["order", 85 /* OrderKeyword */], + ["playergroup", 86 /* PlayergroupKeyword */], + ["point", 87 /* PointKeyword */], + ["region", 88 /* RegionKeyword */], + ["revealer", 89 /* RevealerKeyword */], + ["sound", 90 /* SoundKeyword */], + ["soundlink", 91 /* SoundlinkKeyword */], ["string", 71 /* StringKeyword */], - ["text", 93 /* TextKeyword */], - ["timer", 94 /* TimerKeyword */], - ["transmissionsource", 95 /* TransmissionsourceKeyword */], - ["trigger", 96 /* TriggerKeyword */], - ["unit", 97 /* UnitKeyword */], - ["unitfilter", 98 /* UnitfilterKeyword */], - ["unitgroup", 99 /* UnitgroupKeyword */], - ["unitref", 100 /* UnitrefKeyword */], - ["void", 101 /* VoidKeyword */], - ["wave", 102 /* WaveKeyword */], - ["waveinfo", 103 /* WaveinfoKeyword */], - ["wavetarget", 104 /* WavetargetKeyword */], - ["arrayref", 105 /* ArrayrefKeyword */], - ["structref", 106 /* StructrefKeyword */], - ["funcref", 107 /* FuncrefKeyword */], + ["text", 92 /* TextKeyword */], + ["timer", 93 /* TimerKeyword */], + ["transmissionsource", 94 /* TransmissionsourceKeyword */], + ["trigger", 95 /* TriggerKeyword */], + ["unit", 96 /* UnitKeyword */], + ["unitfilter", 97 /* UnitfilterKeyword */], + ["unitgroup", 98 /* UnitgroupKeyword */], + ["unitref", 99 /* UnitrefKeyword */], + ["void", 100 /* VoidKeyword */], + ["wave", 101 /* WaveKeyword */], + ["waveinfo", 102 /* WaveinfoKeyword */], + ["wavetarget", 103 /* WavetargetKeyword */], + ["arrayref", 104 /* ArrayrefKeyword */], + ["structref", 105 /* StructrefKeyword */], + ["funcref", 106 /* FuncrefKeyword */], ["{", 3 /* OpenBraceToken */], ["}", 4 /* CloseBraceToken */], ["(", 5 /* OpenParenToken */], @@ -380,7 +379,7 @@ class Scanner { return token; } } - return 108 /* Identifier */; + return 107 /* Identifier */; } setText(text) { this.text = text; @@ -396,7 +395,7 @@ class Scanner { this.tokenPos = this.pos; this.tokenValue = null; if (this.pos >= this.end) { - return 109 /* EndOfFileToken */; + return 108 /* EndOfFileToken */; } let ch = this.text.charCodeAt(this.pos); switch (ch) { diff --git a/lib/compiler/scanner.js.map b/lib/compiler/scanner.js.map index 8d9e15e..ef19309 100644 --- a/lib/compiler/scanner.js.map +++ b/lib/compiler/scanner.js.map @@ -1 +1 @@ -{"version":3,"file":"scanner.js","sourceRoot":"","sources":["../../src/compiler/scanner.ts"],"names":[],"mappings":";;AAAA,mCAAmG;AAMnG,MAAM,gBAAgB,GAAoC,IAAI,GAAG,CAAC;IAC9D,CAAC,SAAS,0BAA4B;IACtC,CAAC,QAAQ,yBAA2B;IACpC,CAAC,QAAQ,yBAA2B;IACpC,CAAC,OAAO,wBAA0B;IAClC,CAAC,QAAQ,yBAA2B;IACpC,CAAC,OAAO,wBAA0B;IAClC,CAAC,UAAU,2BAA6B;IACxC,CAAC,QAAQ,yBAA2B;IACpC,CAAC,IAAI,qBAAuB;IAC5B,CAAC,KAAK,sBAAwB;IAC9B,CAAC,OAAO,wBAA0B;IAClC,CAAC,IAAI,qBAAuB;IAC5B,CAAC,MAAM,uBAAyB;IAChC,CAAC,MAAM,uBAAyB;IAChC,CAAC,OAAO,wBAA0B;IAClC,CAAC,MAAM,uBAAyB;IAChC,CAAC,SAAS,0BAA4B;IACtC,CAAC,SAAS,0BAA4B;IACtC,CAAC,OAAO,wBAA0B;IAClC,CAAC,YAAY,6BAA+B;IAC5C,CAAC,UAAU,2BAA6B;IACxC,CAAC,YAAY,6BAA+B;IAC5C,CAAC,MAAM,uBAAyB;IAChC,CAAC,MAAM,uBAA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AU;QACd,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;IACvB,CAAC;CACJ;AA/jBD,0BA+jBC"} \ No newline at end of file +{"version":3,"file":"scanner.js","sourceRoot":"","sources":["../../src/compiler/scanner.ts"],"names":[],"mappings":";;AAAA,mCAAmG;AAMnG,MAAM,gBAAgB,GAAoC,IAAI,GAAG,CAAC;IAC9D,CAAC,SAAS,0BAA4B;IACtC,CAAC,QAAQ,yBAA2B;IACpC,CAAC,QAAQ,yBAA2B;IACpC,CAAC,OAAO,wBAA0B;IAClC,CAAC,QAAQ,yBAA2B;IACpC,CAAC,OAAO,wBAA0B;IAClC,CAAC,UAAU,2BAA6B;IACxC,CAAC,QAAQ,yBAA2B;IACpC,CAAC,IAAI,qBAAuB;IAC5B,CAAC,KAAK,sBAAwB;IAC9B,CAAC,OAAO,wBAA0B;IAClC,CAAC,IAAI,qBAAuB;IAC5B,CAAC,MAAM,uBAAyB;IAChC,CAAC,MAAM,uBAAyB;IAChC,CAAC,OAAO,wBAA0B;IAClC,CAAC,MAAM,uBAAyB;IAChC,CAAC,SAAS,0BAA4B;IACtC,CAAC,SAAS,0BAA4B;IACtC,CAAC,OAAO,wBAA0B;IAClC,CAAC,YAAY,6BAA+B;IAC5C,CAAC,UAAU,2BAA6B;IACxC,CAAC,MAAM,uBAAyB;IAChC,CAAC,MAAM,uBAAyB;IAChC,CAAC,SAAS,0BAA4B;IACtC,CAAC,MAAM,uBAAyB;IAChC,CAAC,YAAY,6BAA+B;IAC5C,CAAC,MAAM,uBAAyB;IAChC,CAAC,OAAO,wBAA0B;IAClC,CAAC,QAAQ,yBAA2B;IACpC,CAAC,OAAO,wBAA0B;IAClC,CAAC,QAAQ,yBAA2B;IACpC,CAAC,eAAe,gCAAkC;IAClD,CAAC,eAAe,gCAAkC;IAClD,CAAC,KAAK,sBAAwB;IAC9B,CAAC,QAAQ,yBAA2B;IACpC,CAAC,OAAO,wBAA0B;IAClC,CAAC,aAAa,8BAAgC;IAC9C,CAAC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X,EAAE,CAAC,CAAC,EAAE,sBAA4B,CAAC,CAAC,CAAC;4BACjC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;wBAChC,CAAC;wBACD,QAAQ,CAAC;oBACb,CAAC;oBACD,IAAI,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;oBAC5C,IAAI,CAAC,GAAG,EAAE,CAAC;oBACX,MAAM,CAAC,IAAI,CAAC,KAAK,kBAAqB,CAAC;YAC/C,CAAC;QACL,CAAC;IACL,CAAC;IAEM,OAAO;QACV,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,OAAO;QACV,MAAM,CAAC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC;IAChC,CAAC;IAEM,WAAW;QACd,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IAEM,WAAW;QACd,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IAEM,aAAa;QAChB,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IAEM,YAAY;QACf,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACxD,CAAC;IAEM,UAAU;QACd,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;IACvB,CAAC;CACJ;AA/jBD,0BA+jBC"} \ No newline at end of file diff --git a/lib/compiler/types.d.ts b/lib/compiler/types.d.ts index 93e33f3..075b5a2 100644 --- a/lib/compiler/types.d.ts +++ b/lib/compiler/types.d.ts @@ -201,85 +201,83 @@ export declare const enum SyntaxKind { ActorKeyword = 73, ActorscopeKeyword = 74, AifilterKeyword = 75, - AnimfilterKeyword = 76, - BankKeyword = 77, - BitmaskKeyword = 78, - CamerainfoKeyword = 79, - ColorKeyword = 80, - DoodadKeyword = 81, - HandleKeyword = 82, - GenerichandleKeyword = 83, - EffecthistoryKeyword = 84, - MarkerKeyword = 85, - OrderKeyword = 86, - PlayergroupKeyword = 87, - PointKeyword = 88, - RegionKeyword = 89, - RevealerKeyword = 90, - SoundKeyword = 91, - SoundlinkKeyword = 92, - TextKeyword = 93, - TimerKeyword = 94, - TransmissionsourceKeyword = 95, - TriggerKeyword = 96, - UnitKeyword = 97, - UnitfilterKeyword = 98, - UnitgroupKeyword = 99, - UnitrefKeyword = 100, - VoidKeyword = 101, - WaveKeyword = 102, - WaveinfoKeyword = 103, - WavetargetKeyword = 104, - ArrayrefKeyword = 105, - StructrefKeyword = 106, - FuncrefKeyword = 107, - Identifier = 108, - EndOfFileToken = 109, - TypeReference = 110, - MappedType = 111, - ArrayType = 112, - ArrayLiteralExpression = 113, - ElementAccessExpression = 114, - PropertyAccessExpression = 115, - CallExpression = 116, - PrefixUnaryExpression = 117, - PostfixUnaryExpression = 118, - BinaryExpression = 119, - TypeAssertionExpression = 120, - ParenthesizedExpression = 121, - SourceFile = 122, - Block = 123, - IfStatement = 124, - DoStatement = 125, - WhileStatement = 126, - ForStatement = 127, - BreakStatement = 128, - ContinueStatement = 129, - IncludeStatement = 130, - ReturnStatement = 131, - ExpressionStatement = 132, - EmptyStatement = 133, - StructDeclaration = 134, - VariableDeclaration = 135, - FunctionDeclaration = 136, - ParameterDeclaration = 137, - PropertyDeclaration = 138, - TypedefDeclaration = 139, + BankKeyword = 76, + BitmaskKeyword = 77, + CamerainfoKeyword = 78, + ColorKeyword = 79, + DoodadKeyword = 80, + HandleKeyword = 81, + GenerichandleKeyword = 82, + EffecthistoryKeyword = 83, + MarkerKeyword = 84, + OrderKeyword = 85, + PlayergroupKeyword = 86, + PointKeyword = 87, + RegionKeyword = 88, + RevealerKeyword = 89, + SoundKeyword = 90, + SoundlinkKeyword = 91, + TextKeyword = 92, + TimerKeyword = 93, + TransmissionsourceKeyword = 94, + TriggerKeyword = 95, + UnitKeyword = 96, + UnitfilterKeyword = 97, + UnitgroupKeyword = 98, + UnitrefKeyword = 99, + VoidKeyword = 100, + WaveKeyword = 101, + WaveinfoKeyword = 102, + WavetargetKeyword = 103, + ArrayrefKeyword = 104, + StructrefKeyword = 105, + FuncrefKeyword = 106, + Identifier = 107, + EndOfFileToken = 108, + TypeReference = 109, + MappedType = 110, + ArrayType = 111, + ArrayLiteralExpression = 112, + ElementAccessExpression = 113, + PropertyAccessExpression = 114, + CallExpression = 115, + PrefixUnaryExpression = 116, + PostfixUnaryExpression = 117, + BinaryExpression = 118, + TypeAssertionExpression = 119, + ParenthesizedExpression = 120, + SourceFile = 121, + Block = 122, + IfStatement = 123, + DoStatement = 124, + WhileStatement = 125, + ForStatement = 126, + BreakStatement = 127, + ContinueStatement = 128, + IncludeStatement = 129, + ReturnStatement = 130, + ExpressionStatement = 131, + EmptyStatement = 132, + StructDeclaration = 133, + VariableDeclaration = 134, + FunctionDeclaration = 135, + ParameterDeclaration = 136, + PropertyDeclaration = 137, + TypedefDeclaration = 138, } export declare const enum SyntaxKindMarker { FirstToken = 1, - LastToken = 108, + LastToken = 107, FirstKeyword = 49, - LastKeyword = 107, + LastKeyword = 106, FirstBasicType = 66, LastBasicType = 71, FirstComplexType = 72, - LastComplexType = 104, - FirstTypeNode = 110, - LastTypeNode = 112, + LastComplexType = 103, + FirstTypeNode = 109, + LastTypeNode = 111, } export declare type Modifier = Token | Token | Token; -export declare type ComplexTypeKeyword = SyntaxKind.AbilcmdKeyword | SyntaxKind.ActorKeyword | SyntaxKind.ActorscopeKeyword | SyntaxKind.AifilterKeyword | SyntaxKind.AnimfilterKeyword | SyntaxKind.BankKeyword | SyntaxKind.BitmaskKeyword | SyntaxKind.BoolKeyword | SyntaxKind.ByteKeyword | SyntaxKind.CamerainfoKeyword | SyntaxKind.CharKeyword | SyntaxKind.ColorKeyword | SyntaxKind.DoodadKeyword | SyntaxKind.FixedKeyword | SyntaxKind.HandleKeyword | SyntaxKind.GenerichandleKeyword | SyntaxKind.EffecthistoryKeyword | SyntaxKind.IntKeyword | SyntaxKind.MarkerKeyword | SyntaxKind.OrderKeyword | SyntaxKind.PlayergroupKeyword | SyntaxKind.PointKeyword | SyntaxKind.RegionKeyword | SyntaxKind.RevealerKeyword | SyntaxKind.SoundKeyword | SyntaxKind.SoundlinkKeyword | SyntaxKind.StringKeyword | SyntaxKind.TextKeyword | SyntaxKind.TimerKeyword | SyntaxKind.TransmissionsourceKeyword | SyntaxKind.TriggerKeyword | SyntaxKind.UnitKeyword | SyntaxKind.UnitfilterKeyword | SyntaxKind.UnitgroupKeyword | SyntaxKind.UnitrefKeyword | SyntaxKind.VoidKeyword | SyntaxKind.WaveKeyword | SyntaxKind.WaveinfoKeyword | SyntaxKind.WavetargetKeyword; export declare const enum SymbolFlags { None = 0, LocalVariable = 2, @@ -306,38 +304,35 @@ export interface Symbol { } export declare type SymbolTable = Map; export declare const enum TypeFlags { - Any = 1, + Unknown = 1, String = 2, Integer = 4, - Fixed = 8, - Boolean = 16, - Enum = 32, - StringLiteral = 64, - NumberLiteral = 128, - BooleanLiteral = 256, - Void = 1024, - Null = 2048, - Struct = 4096, - Function = 8192, - Complex = 16384, - Array = 32768, - Mapped = 65536, - Funcref = 131072, - Arrayref = 262144, - Structref = 524288, - Typedef = 1048576, - Nullable = 2048, - Literal = 448, - Numeric = 12, - Reference = 917504, + Byte = 8, + Char = 16, + Fixed = 32, + Boolean = 64, + Nullable = 128, + StringLiteral = 256, + NumericLiteral = 512, + BooleanLiteral = 1024, + Void = 2048, + Null = 4096, + Struct = 8192, + Function = 16384, + Complex = 32768, + Array = 65536, + Mapped = 131072, + Reference = 262144, + Typedef = 2097152, + True = 4194304, + False = 8388608, + Literal = 1792, + Numeric = 36, } export interface Type { flags: TypeFlags; symbol?: Symbol; } -export interface IntrinsicType extends Type { - intrinsicName: string; -} export interface LiteralType extends Type { value: string | number; freshType?: LiteralType; @@ -415,10 +410,6 @@ export interface TypeNode extends Node { } export interface TypeNode extends Node { } -export interface TypeReferenceNode extends TypeNode { - kind: SyntaxKind.TypeReference; - name: Identifier; -} export interface ArrayTypeNode extends TypeNode { kind: SyntaxKind.ArrayType; elementType: TypeNode; @@ -492,6 +483,9 @@ export interface Literal extends Expression { export interface StringLiteral extends Literal { kind: SyntaxKind.StringLiteral; } +export interface NumericLiteral extends Literal { + kind: SyntaxKind.NumericLiteral; +} export interface Identifier extends PrimaryExpression { kind: SyntaxKind.Identifier; name: string; @@ -500,7 +494,7 @@ export interface Identifier extends PrimaryExpression { export declare type EntityNameExpression = Identifier | PropertyAccessExpression | ParenthesizedExpression; export declare type PrefixUnaryOperator = SyntaxKind.MinusToken | SyntaxKind.PlusToken | SyntaxKind.TildeToken | SyntaxKind.ExclamationToken | SyntaxKind.MinusMinusToken | SyntaxKind.PlusPlusToken; export declare type PostfixUnaryOperator = SyntaxKind.PlusPlusToken | SyntaxKind.MinusMinusToken; -export declare type BinaryOperator = PrefixUnaryOperator; +export declare type BinaryOperator = SyntaxKind.MinusToken | SyntaxKind.PlusToken | SyntaxKind.AsteriskToken | SyntaxKind.SlashToken | SyntaxKind.PercentToken | SyntaxKind.AmpersandToken | SyntaxKind.BarToken | SyntaxKind.CaretToken | SyntaxKind.LessThanLessThanToken | SyntaxKind.GreaterThanGreaterThanToken | SyntaxKind.BarBarToken | SyntaxKind.AmpersandAmpersandToken; export declare type BinaryOperatorToken = Token; export interface UpdateExpression extends UnaryExpression { } diff --git a/lib/compiler/types.js b/lib/compiler/types.js index c1abf0b..ac881d6 100644 --- a/lib/compiler/types.js +++ b/lib/compiler/types.js @@ -145,6 +145,7 @@ var SyntaxKind; SyntaxKind[SyntaxKind["DotToken"] = 9] = "DotToken"; SyntaxKind[SyntaxKind["SemicolonToken"] = 10] = "SemicolonToken"; SyntaxKind[SyntaxKind["CommaToken"] = 11] = "CommaToken"; + // Comparison SyntaxKind[SyntaxKind["LessThanToken"] = 12] = "LessThanToken"; SyntaxKind[SyntaxKind["GreaterThanToken"] = 13] = "GreaterThanToken"; SyntaxKind[SyntaxKind["LessThanEqualsToken"] = 14] = "LessThanEqualsToken"; @@ -213,86 +214,85 @@ var SyntaxKind; SyntaxKind[SyntaxKind["ActorKeyword"] = 73] = "ActorKeyword"; SyntaxKind[SyntaxKind["ActorscopeKeyword"] = 74] = "ActorscopeKeyword"; SyntaxKind[SyntaxKind["AifilterKeyword"] = 75] = "AifilterKeyword"; - SyntaxKind[SyntaxKind["AnimfilterKeyword"] = 76] = "AnimfilterKeyword"; - SyntaxKind[SyntaxKind["BankKeyword"] = 77] = "BankKeyword"; - SyntaxKind[SyntaxKind["BitmaskKeyword"] = 78] = "BitmaskKeyword"; - SyntaxKind[SyntaxKind["CamerainfoKeyword"] = 79] = "CamerainfoKeyword"; - SyntaxKind[SyntaxKind["ColorKeyword"] = 80] = "ColorKeyword"; - SyntaxKind[SyntaxKind["DoodadKeyword"] = 81] = "DoodadKeyword"; - SyntaxKind[SyntaxKind["HandleKeyword"] = 82] = "HandleKeyword"; - SyntaxKind[SyntaxKind["GenerichandleKeyword"] = 83] = "GenerichandleKeyword"; - SyntaxKind[SyntaxKind["EffecthistoryKeyword"] = 84] = "EffecthistoryKeyword"; - SyntaxKind[SyntaxKind["MarkerKeyword"] = 85] = "MarkerKeyword"; - SyntaxKind[SyntaxKind["OrderKeyword"] = 86] = "OrderKeyword"; - SyntaxKind[SyntaxKind["PlayergroupKeyword"] = 87] = "PlayergroupKeyword"; - SyntaxKind[SyntaxKind["PointKeyword"] = 88] = "PointKeyword"; - SyntaxKind[SyntaxKind["RegionKeyword"] = 89] = "RegionKeyword"; - SyntaxKind[SyntaxKind["RevealerKeyword"] = 90] = "RevealerKeyword"; - SyntaxKind[SyntaxKind["SoundKeyword"] = 91] = "SoundKeyword"; - SyntaxKind[SyntaxKind["SoundlinkKeyword"] = 92] = "SoundlinkKeyword"; - SyntaxKind[SyntaxKind["TextKeyword"] = 93] = "TextKeyword"; - SyntaxKind[SyntaxKind["TimerKeyword"] = 94] = "TimerKeyword"; - SyntaxKind[SyntaxKind["TransmissionsourceKeyword"] = 95] = "TransmissionsourceKeyword"; - SyntaxKind[SyntaxKind["TriggerKeyword"] = 96] = "TriggerKeyword"; - SyntaxKind[SyntaxKind["UnitKeyword"] = 97] = "UnitKeyword"; - SyntaxKind[SyntaxKind["UnitfilterKeyword"] = 98] = "UnitfilterKeyword"; - SyntaxKind[SyntaxKind["UnitgroupKeyword"] = 99] = "UnitgroupKeyword"; - SyntaxKind[SyntaxKind["UnitrefKeyword"] = 100] = "UnitrefKeyword"; - SyntaxKind[SyntaxKind["VoidKeyword"] = 101] = "VoidKeyword"; - SyntaxKind[SyntaxKind["WaveKeyword"] = 102] = "WaveKeyword"; - SyntaxKind[SyntaxKind["WaveinfoKeyword"] = 103] = "WaveinfoKeyword"; - SyntaxKind[SyntaxKind["WavetargetKeyword"] = 104] = "WavetargetKeyword"; + SyntaxKind[SyntaxKind["BankKeyword"] = 76] = "BankKeyword"; + SyntaxKind[SyntaxKind["BitmaskKeyword"] = 77] = "BitmaskKeyword"; + SyntaxKind[SyntaxKind["CamerainfoKeyword"] = 78] = "CamerainfoKeyword"; + SyntaxKind[SyntaxKind["ColorKeyword"] = 79] = "ColorKeyword"; + SyntaxKind[SyntaxKind["DoodadKeyword"] = 80] = "DoodadKeyword"; + SyntaxKind[SyntaxKind["HandleKeyword"] = 81] = "HandleKeyword"; + SyntaxKind[SyntaxKind["GenerichandleKeyword"] = 82] = "GenerichandleKeyword"; + SyntaxKind[SyntaxKind["EffecthistoryKeyword"] = 83] = "EffecthistoryKeyword"; + SyntaxKind[SyntaxKind["MarkerKeyword"] = 84] = "MarkerKeyword"; + SyntaxKind[SyntaxKind["OrderKeyword"] = 85] = "OrderKeyword"; + SyntaxKind[SyntaxKind["PlayergroupKeyword"] = 86] = "PlayergroupKeyword"; + SyntaxKind[SyntaxKind["PointKeyword"] = 87] = "PointKeyword"; + SyntaxKind[SyntaxKind["RegionKeyword"] = 88] = "RegionKeyword"; + SyntaxKind[SyntaxKind["RevealerKeyword"] = 89] = "RevealerKeyword"; + SyntaxKind[SyntaxKind["SoundKeyword"] = 90] = "SoundKeyword"; + SyntaxKind[SyntaxKind["SoundlinkKeyword"] = 91] = "SoundlinkKeyword"; + SyntaxKind[SyntaxKind["TextKeyword"] = 92] = "TextKeyword"; + SyntaxKind[SyntaxKind["TimerKeyword"] = 93] = "TimerKeyword"; + SyntaxKind[SyntaxKind["TransmissionsourceKeyword"] = 94] = "TransmissionsourceKeyword"; + SyntaxKind[SyntaxKind["TriggerKeyword"] = 95] = "TriggerKeyword"; + SyntaxKind[SyntaxKind["UnitKeyword"] = 96] = "UnitKeyword"; + SyntaxKind[SyntaxKind["UnitfilterKeyword"] = 97] = "UnitfilterKeyword"; + SyntaxKind[SyntaxKind["UnitgroupKeyword"] = 98] = "UnitgroupKeyword"; + SyntaxKind[SyntaxKind["UnitrefKeyword"] = 99] = "UnitrefKeyword"; + SyntaxKind[SyntaxKind["VoidKeyword"] = 100] = "VoidKeyword"; + SyntaxKind[SyntaxKind["WaveKeyword"] = 101] = "WaveKeyword"; + SyntaxKind[SyntaxKind["WaveinfoKeyword"] = 102] = "WaveinfoKeyword"; + SyntaxKind[SyntaxKind["WavetargetKeyword"] = 103] = "WavetargetKeyword"; // Ref types - SyntaxKind[SyntaxKind["ArrayrefKeyword"] = 105] = "ArrayrefKeyword"; - SyntaxKind[SyntaxKind["StructrefKeyword"] = 106] = "StructrefKeyword"; - SyntaxKind[SyntaxKind["FuncrefKeyword"] = 107] = "FuncrefKeyword"; + SyntaxKind[SyntaxKind["ArrayrefKeyword"] = 104] = "ArrayrefKeyword"; + SyntaxKind[SyntaxKind["StructrefKeyword"] = 105] = "StructrefKeyword"; + SyntaxKind[SyntaxKind["FuncrefKeyword"] = 106] = "FuncrefKeyword"; // - SyntaxKind[SyntaxKind["Identifier"] = 108] = "Identifier"; - SyntaxKind[SyntaxKind["EndOfFileToken"] = 109] = "EndOfFileToken"; + SyntaxKind[SyntaxKind["Identifier"] = 107] = "Identifier"; + SyntaxKind[SyntaxKind["EndOfFileToken"] = 108] = "EndOfFileToken"; // Elements - SyntaxKind[SyntaxKind["TypeReference"] = 110] = "TypeReference"; - SyntaxKind[SyntaxKind["MappedType"] = 111] = "MappedType"; - SyntaxKind[SyntaxKind["ArrayType"] = 112] = "ArrayType"; - SyntaxKind[SyntaxKind["ArrayLiteralExpression"] = 113] = "ArrayLiteralExpression"; - SyntaxKind[SyntaxKind["ElementAccessExpression"] = 114] = "ElementAccessExpression"; - SyntaxKind[SyntaxKind["PropertyAccessExpression"] = 115] = "PropertyAccessExpression"; - SyntaxKind[SyntaxKind["CallExpression"] = 116] = "CallExpression"; - SyntaxKind[SyntaxKind["PrefixUnaryExpression"] = 117] = "PrefixUnaryExpression"; - SyntaxKind[SyntaxKind["PostfixUnaryExpression"] = 118] = "PostfixUnaryExpression"; - SyntaxKind[SyntaxKind["BinaryExpression"] = 119] = "BinaryExpression"; - SyntaxKind[SyntaxKind["TypeAssertionExpression"] = 120] = "TypeAssertionExpression"; - SyntaxKind[SyntaxKind["ParenthesizedExpression"] = 121] = "ParenthesizedExpression"; - SyntaxKind[SyntaxKind["SourceFile"] = 122] = "SourceFile"; - SyntaxKind[SyntaxKind["Block"] = 123] = "Block"; - SyntaxKind[SyntaxKind["IfStatement"] = 124] = "IfStatement"; - SyntaxKind[SyntaxKind["DoStatement"] = 125] = "DoStatement"; - SyntaxKind[SyntaxKind["WhileStatement"] = 126] = "WhileStatement"; - SyntaxKind[SyntaxKind["ForStatement"] = 127] = "ForStatement"; - SyntaxKind[SyntaxKind["BreakStatement"] = 128] = "BreakStatement"; - SyntaxKind[SyntaxKind["ContinueStatement"] = 129] = "ContinueStatement"; - SyntaxKind[SyntaxKind["IncludeStatement"] = 130] = "IncludeStatement"; - SyntaxKind[SyntaxKind["ReturnStatement"] = 131] = "ReturnStatement"; - SyntaxKind[SyntaxKind["ExpressionStatement"] = 132] = "ExpressionStatement"; - SyntaxKind[SyntaxKind["EmptyStatement"] = 133] = "EmptyStatement"; - SyntaxKind[SyntaxKind["StructDeclaration"] = 134] = "StructDeclaration"; - SyntaxKind[SyntaxKind["VariableDeclaration"] = 135] = "VariableDeclaration"; - SyntaxKind[SyntaxKind["FunctionDeclaration"] = 136] = "FunctionDeclaration"; - SyntaxKind[SyntaxKind["ParameterDeclaration"] = 137] = "ParameterDeclaration"; - SyntaxKind[SyntaxKind["PropertyDeclaration"] = 138] = "PropertyDeclaration"; - SyntaxKind[SyntaxKind["TypedefDeclaration"] = 139] = "TypedefDeclaration"; + SyntaxKind[SyntaxKind["TypeReference"] = 109] = "TypeReference"; + SyntaxKind[SyntaxKind["MappedType"] = 110] = "MappedType"; + SyntaxKind[SyntaxKind["ArrayType"] = 111] = "ArrayType"; + SyntaxKind[SyntaxKind["ArrayLiteralExpression"] = 112] = "ArrayLiteralExpression"; + SyntaxKind[SyntaxKind["ElementAccessExpression"] = 113] = "ElementAccessExpression"; + SyntaxKind[SyntaxKind["PropertyAccessExpression"] = 114] = "PropertyAccessExpression"; + SyntaxKind[SyntaxKind["CallExpression"] = 115] = "CallExpression"; + SyntaxKind[SyntaxKind["PrefixUnaryExpression"] = 116] = "PrefixUnaryExpression"; + SyntaxKind[SyntaxKind["PostfixUnaryExpression"] = 117] = "PostfixUnaryExpression"; + SyntaxKind[SyntaxKind["BinaryExpression"] = 118] = "BinaryExpression"; + SyntaxKind[SyntaxKind["TypeAssertionExpression"] = 119] = "TypeAssertionExpression"; + SyntaxKind[SyntaxKind["ParenthesizedExpression"] = 120] = "ParenthesizedExpression"; + SyntaxKind[SyntaxKind["SourceFile"] = 121] = "SourceFile"; + SyntaxKind[SyntaxKind["Block"] = 122] = "Block"; + SyntaxKind[SyntaxKind["IfStatement"] = 123] = "IfStatement"; + SyntaxKind[SyntaxKind["DoStatement"] = 124] = "DoStatement"; + SyntaxKind[SyntaxKind["WhileStatement"] = 125] = "WhileStatement"; + SyntaxKind[SyntaxKind["ForStatement"] = 126] = "ForStatement"; + SyntaxKind[SyntaxKind["BreakStatement"] = 127] = "BreakStatement"; + SyntaxKind[SyntaxKind["ContinueStatement"] = 128] = "ContinueStatement"; + SyntaxKind[SyntaxKind["IncludeStatement"] = 129] = "IncludeStatement"; + SyntaxKind[SyntaxKind["ReturnStatement"] = 130] = "ReturnStatement"; + SyntaxKind[SyntaxKind["ExpressionStatement"] = 131] = "ExpressionStatement"; + SyntaxKind[SyntaxKind["EmptyStatement"] = 132] = "EmptyStatement"; + SyntaxKind[SyntaxKind["StructDeclaration"] = 133] = "StructDeclaration"; + SyntaxKind[SyntaxKind["VariableDeclaration"] = 134] = "VariableDeclaration"; + SyntaxKind[SyntaxKind["FunctionDeclaration"] = 135] = "FunctionDeclaration"; + SyntaxKind[SyntaxKind["ParameterDeclaration"] = 136] = "ParameterDeclaration"; + SyntaxKind[SyntaxKind["PropertyDeclaration"] = 137] = "PropertyDeclaration"; + SyntaxKind[SyntaxKind["TypedefDeclaration"] = 138] = "TypedefDeclaration"; })(SyntaxKind = exports.SyntaxKind || (exports.SyntaxKind = {})); var SyntaxKindMarker; (function (SyntaxKindMarker) { SyntaxKindMarker[SyntaxKindMarker["FirstToken"] = 1] = "FirstToken"; - SyntaxKindMarker[SyntaxKindMarker["LastToken"] = 108] = "LastToken"; + SyntaxKindMarker[SyntaxKindMarker["LastToken"] = 107] = "LastToken"; SyntaxKindMarker[SyntaxKindMarker["FirstKeyword"] = 49] = "FirstKeyword"; - SyntaxKindMarker[SyntaxKindMarker["LastKeyword"] = 107] = "LastKeyword"; + SyntaxKindMarker[SyntaxKindMarker["LastKeyword"] = 106] = "LastKeyword"; SyntaxKindMarker[SyntaxKindMarker["FirstBasicType"] = 66] = "FirstBasicType"; SyntaxKindMarker[SyntaxKindMarker["LastBasicType"] = 71] = "LastBasicType"; SyntaxKindMarker[SyntaxKindMarker["FirstComplexType"] = 72] = "FirstComplexType"; - SyntaxKindMarker[SyntaxKindMarker["LastComplexType"] = 104] = "LastComplexType"; - SyntaxKindMarker[SyntaxKindMarker["FirstTypeNode"] = 110] = "FirstTypeNode"; - SyntaxKindMarker[SyntaxKindMarker["LastTypeNode"] = 112] = "LastTypeNode"; + SyntaxKindMarker[SyntaxKindMarker["LastComplexType"] = 103] = "LastComplexType"; + SyntaxKindMarker[SyntaxKindMarker["FirstTypeNode"] = 109] = "FirstTypeNode"; + SyntaxKindMarker[SyntaxKindMarker["LastTypeNode"] = 111] = "LastTypeNode"; })(SyntaxKindMarker = exports.SyntaxKindMarker || (exports.SyntaxKindMarker = {})); ; var SymbolFlags; @@ -310,31 +310,31 @@ var SymbolFlags; })(SymbolFlags = exports.SymbolFlags || (exports.SymbolFlags = {})); var TypeFlags; (function (TypeFlags) { - TypeFlags[TypeFlags["Any"] = 1] = "Any"; + TypeFlags[TypeFlags["Unknown"] = 1] = "Unknown"; TypeFlags[TypeFlags["String"] = 2] = "String"; TypeFlags[TypeFlags["Integer"] = 4] = "Integer"; - TypeFlags[TypeFlags["Fixed"] = 8] = "Fixed"; - TypeFlags[TypeFlags["Boolean"] = 16] = "Boolean"; - TypeFlags[TypeFlags["Enum"] = 32] = "Enum"; - TypeFlags[TypeFlags["StringLiteral"] = 64] = "StringLiteral"; - TypeFlags[TypeFlags["NumberLiteral"] = 128] = "NumberLiteral"; - TypeFlags[TypeFlags["BooleanLiteral"] = 256] = "BooleanLiteral"; - TypeFlags[TypeFlags["Void"] = 1024] = "Void"; - TypeFlags[TypeFlags["Null"] = 2048] = "Null"; - TypeFlags[TypeFlags["Struct"] = 4096] = "Struct"; - TypeFlags[TypeFlags["Function"] = 8192] = "Function"; - TypeFlags[TypeFlags["Complex"] = 16384] = "Complex"; - TypeFlags[TypeFlags["Array"] = 32768] = "Array"; - TypeFlags[TypeFlags["Mapped"] = 65536] = "Mapped"; - TypeFlags[TypeFlags["Funcref"] = 131072] = "Funcref"; - TypeFlags[TypeFlags["Arrayref"] = 262144] = "Arrayref"; - TypeFlags[TypeFlags["Structref"] = 524288] = "Structref"; - TypeFlags[TypeFlags["Typedef"] = 1048576] = "Typedef"; + TypeFlags[TypeFlags["Byte"] = 8] = "Byte"; + TypeFlags[TypeFlags["Char"] = 16] = "Char"; + TypeFlags[TypeFlags["Fixed"] = 32] = "Fixed"; + TypeFlags[TypeFlags["Boolean"] = 64] = "Boolean"; + TypeFlags[TypeFlags["Nullable"] = 128] = "Nullable"; + TypeFlags[TypeFlags["StringLiteral"] = 256] = "StringLiteral"; + TypeFlags[TypeFlags["NumericLiteral"] = 512] = "NumericLiteral"; + TypeFlags[TypeFlags["BooleanLiteral"] = 1024] = "BooleanLiteral"; + TypeFlags[TypeFlags["Void"] = 2048] = "Void"; + TypeFlags[TypeFlags["Null"] = 4096] = "Null"; + TypeFlags[TypeFlags["Struct"] = 8192] = "Struct"; + TypeFlags[TypeFlags["Function"] = 16384] = "Function"; + TypeFlags[TypeFlags["Complex"] = 32768] = "Complex"; + TypeFlags[TypeFlags["Array"] = 65536] = "Array"; + TypeFlags[TypeFlags["Mapped"] = 131072] = "Mapped"; + TypeFlags[TypeFlags["Reference"] = 262144] = "Reference"; + TypeFlags[TypeFlags["Typedef"] = 2097152] = "Typedef"; + TypeFlags[TypeFlags["True"] = 4194304] = "True"; + TypeFlags[TypeFlags["False"] = 8388608] = "False"; /* @internal */ - TypeFlags[TypeFlags["Nullable"] = 2048] = "Nullable"; - TypeFlags[TypeFlags["Literal"] = 448] = "Literal"; - TypeFlags[TypeFlags["Numeric"] = 12] = "Numeric"; - TypeFlags[TypeFlags["Reference"] = 917504] = "Reference"; + TypeFlags[TypeFlags["Literal"] = 1792] = "Literal"; + TypeFlags[TypeFlags["Numeric"] = 36] = "Numeric"; })(TypeFlags = exports.TypeFlags || (exports.TypeFlags = {})); var NodeCheckFlags; (function (NodeCheckFlags) { diff --git a/lib/compiler/types.js.map b/lib/compiler/types.js.map index 66002ef..90213f5 100644 --- a/lib/compiler/types.js.map +++ b/lib/compiler/types.js.map @@ -1 +1 @@ -{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/compiler/types.ts"],"names":[],"mapp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C,CAAA;IAChC,2CAAgC,CAAA;IAChC,gDAAgC,CAAA;IAChC,0CAAgC,CAAA;IAChC,4DAAgC,CAAA;IAChC,6DAAgC,CAAA;IAChC,+DAAgC,CAAA;IAChC,4CAAiC,CAAA;IACjC,4CAAiC,CAAA;IACjC,gDAAiC,CAAA;IACjC,oDAAiC,CAAA;IACjC,mDAAiC,CAAA;IACjC,+CAAiC,CAAA;IACjC,iDAAiC,CAAA;IACjC,oDAAiC,CAAA;IACjC,sDAAiC,CAAA;IACjC,wDAAiC,CAAA;IACjC,qDAAiC,CAAA;IAEjC,eAAe;IACf,oDAAe,CAAA;IACf,iDAAwD,CAAA;IACxD,gDAAyB,CAAA;IACzB,wDAA0C,CAAA;AAC9C,CAAC,EA3BiB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QA2B1B;AAmDD,IAAkB,cAGjB;AAHD,WAAkB,cAAc;IAC5B,iEAA4C,CAAA;IAC5C,uEAA4C,CAAA;AAChD,CAAC,EAHiB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAG/B;AAyRD,EAAE;AACF,cAAc;AACd,EAAE;AAEF,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,iEAAO,CAAA;IACP,6DAAK,CAAA;IACL,iEAAO,CAAA;AACX,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"} \ No newline at end of file +{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/compiler/types.ts"],"names":[],"mappings":";;AAAA,eAAe;AACf,IAAkB,cAsIjB;AAtID,WAAkB,cAAc;IAC5B,qEAAiB,CAAA;IACjB,+EAAwB,CAAA;IAExB,4DAAe,CAAA;IACf,wEAAqB,CAAA;IACrB,wEAAsB,CAAA;IACtB,kFAA2B,CAAA;IAC3B,6DAAiB,CAAA;IAEjB,+BAA+B;IAC/B,sDAAc,CAAA;IACd,6EAAyB,CAAA;IACzB,0DAAe,CAAA;IACf,0DAAe,CAAA;IACf,4DAAgB,CAAA;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wDAAiC,CAAA;IAEjC,qDAAiC,CAAA;IAEjC,+CAAiC,CAAA;IACjC,iDAAiC,CAAA;IAEjC,eAAe;IACf,kDAAyD,CAAA;IACzD,gDAAyB,CAAA;AAC7B,CAAC,EA9BiB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QA8B1B;AA+CD,IAAkB,cAGjB;AAHD,WAAkB,cAAc;IAC5B,iEAA4C,CAAA;IAC5C,uEAA4C,CAAA;AAChD,CAAC,EAHiB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAG/B;AA0SD,EAAE;AACF,cAAc;AACd,EAAE;AAEF,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,iEAAO,CAAA;IACP,6DAAK,CAAA;IACL,iEAAO,CAAA;AACX,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"} \ No newline at end of file diff --git a/lib/compiler/utils.d.ts b/lib/compiler/utils.d.ts index 0c26be9..37b8428 100644 --- a/lib/compiler/utils.d.ts +++ b/lib/compiler/utils.d.ts @@ -7,7 +7,9 @@ import { SyntaxKind, Node, NodeArray } from './types'; export declare function isToken(n: Node): boolean; export declare function isModifierKind(token: SyntaxKind): boolean; export declare function isKeywordTypeKind(token: SyntaxKind): boolean; +export declare function isComplexTypeKind(token: SyntaxKind): boolean; export declare function isReferenceKeywordKind(token: SyntaxKind): boolean; +export declare function isComparisonOperator(token: SyntaxKind): boolean; export declare function isAssignmentOperator(token: SyntaxKind): boolean; export declare function isLeftHandSideExpressionKind(kind: SyntaxKind): boolean; export declare function isContainerKind(kind: SyntaxKind): boolean; @@ -27,6 +29,7 @@ export declare function sourceFileToJSON(file: Types.Node): string; */ export declare function findAncestor(node: Node, callback: (element: Node) => element is T): T | undefined; export declare function findAncestor(node: Node, callback: (element: Node) => boolean | "quit"): Node | undefined; +export declare function findAncestorByKind(node: Node, kind: SyntaxKind): Types.Node; export declare function getSourceFileOfNode(node: Node): Types.SourceFile; export declare function fixupParentReferences(rootNode: Node): void; /** diff --git a/lib/compiler/utils.js b/lib/compiler/utils.js index 76fdb79..114758e 100644 --- a/lib/compiler/utils.js +++ b/lib/compiler/utils.js @@ -6,7 +6,7 @@ const Types = require("./types"); * For example, this is true for an IfKeyword but not for an IfStatement. */ function isToken(n) { - return n.kind >= 1 /* FirstToken */ && n.kind <= 108 /* LastToken */; + return n.kind >= 1 /* FirstToken */ && n.kind <= 107 /* LastToken */; } exports.isToken = isToken; function isModifierKind(token) { @@ -25,70 +25,80 @@ function isKeywordTypeKind(token) { case 73 /* ActorKeyword */: case 74 /* ActorscopeKeyword */: case 75 /* AifilterKeyword */: - case 76 /* AnimfilterKeyword */: - case 77 /* BankKeyword */: - case 78 /* BitmaskKeyword */: + case 76 /* BankKeyword */: + case 77 /* BitmaskKeyword */: case 66 /* BoolKeyword */: case 67 /* ByteKeyword */: - case 79 /* CamerainfoKeyword */: + case 78 /* CamerainfoKeyword */: case 68 /* CharKeyword */: - case 80 /* ColorKeyword */: - case 81 /* DoodadKeyword */: + case 79 /* ColorKeyword */: + case 80 /* DoodadKeyword */: case 70 /* FixedKeyword */: - case 82 /* HandleKeyword */: - case 83 /* GenerichandleKeyword */: - case 84 /* EffecthistoryKeyword */: + case 81 /* HandleKeyword */: + case 82 /* GenerichandleKeyword */: + case 83 /* EffecthistoryKeyword */: case 69 /* IntKeyword */: - case 85 /* MarkerKeyword */: - case 86 /* OrderKeyword */: - case 87 /* PlayergroupKeyword */: - case 88 /* PointKeyword */: - case 89 /* RegionKeyword */: - case 90 /* RevealerKeyword */: - case 91 /* SoundKeyword */: - case 92 /* SoundlinkKeyword */: + case 84 /* MarkerKeyword */: + case 85 /* OrderKeyword */: + case 86 /* PlayergroupKeyword */: + case 87 /* PointKeyword */: + case 88 /* RegionKeyword */: + case 89 /* RevealerKeyword */: + case 90 /* SoundKeyword */: + case 91 /* SoundlinkKeyword */: case 71 /* StringKeyword */: - case 93 /* TextKeyword */: - case 94 /* TimerKeyword */: - case 95 /* TransmissionsourceKeyword */: - case 96 /* TriggerKeyword */: - case 97 /* UnitKeyword */: - case 98 /* UnitfilterKeyword */: - case 99 /* UnitgroupKeyword */: - case 100 /* UnitrefKeyword */: - case 101 /* VoidKeyword */: - case 102 /* WaveKeyword */: - case 103 /* WaveinfoKeyword */: - case 104 /* WavetargetKeyword */: - case 105 /* ArrayrefKeyword */: - case 106 /* StructrefKeyword */: - case 107 /* FuncrefKeyword */: + case 92 /* TextKeyword */: + case 93 /* TimerKeyword */: + case 94 /* TransmissionsourceKeyword */: + case 95 /* TriggerKeyword */: + case 96 /* UnitKeyword */: + case 97 /* UnitfilterKeyword */: + case 98 /* UnitgroupKeyword */: + case 99 /* UnitrefKeyword */: + case 100 /* VoidKeyword */: + case 101 /* WaveKeyword */: + case 102 /* WaveinfoKeyword */: + case 103 /* WavetargetKeyword */: + case 104 /* ArrayrefKeyword */: + case 105 /* StructrefKeyword */: + case 106 /* FuncrefKeyword */: return true; } return false; } exports.isKeywordTypeKind = isKeywordTypeKind; +function isComplexTypeKind(token) { + if (72 /* FirstComplexType */ <= token && 103 /* LastComplexType */ >= token) { + return true; + } + return false; +} +exports.isComplexTypeKind = isComplexTypeKind; function isReferenceKeywordKind(token) { switch (token) { - case 105 /* ArrayrefKeyword */: - case 106 /* StructrefKeyword */: - case 107 /* FuncrefKeyword */: + case 104 /* ArrayrefKeyword */: + case 105 /* StructrefKeyword */: + case 106 /* FuncrefKeyword */: return true; } return false; } exports.isReferenceKeywordKind = isReferenceKeywordKind; +function isComparisonOperator(token) { + return token >= 12 /* LessThanToken */ && token <= 18 /* EqualsGreaterThanToken */; +} +exports.isComparisonOperator = isComparisonOperator; function isAssignmentOperator(token) { return token >= 38 /* EqualsToken */ && token <= 48 /* CaretEqualsToken */; } exports.isAssignmentOperator = isAssignmentOperator; function isLeftHandSideExpressionKind(kind) { - return kind === 115 /* PropertyAccessExpression */ - || kind === 114 /* ElementAccessExpression */ - || kind === 116 /* CallExpression */ - || kind === 121 /* ParenthesizedExpression */ - || kind === 113 /* ArrayLiteralExpression */ - || kind === 108 /* Identifier */ + return kind === 114 /* PropertyAccessExpression */ + || kind === 113 /* ElementAccessExpression */ + || kind === 115 /* CallExpression */ + || kind === 120 /* ParenthesizedExpression */ + || kind === 112 /* ArrayLiteralExpression */ + || kind === 107 /* Identifier */ || kind === 1 /* NumericLiteral */ || kind === 2 /* StringLiteral */ || kind === 63 /* FalseKeyword */ @@ -97,20 +107,20 @@ function isLeftHandSideExpressionKind(kind) { } exports.isLeftHandSideExpressionKind = isLeftHandSideExpressionKind; function isContainerKind(kind) { - return kind === 122 /* SourceFile */ - || kind === 136 /* FunctionDeclaration */ - || kind === 134 /* StructDeclaration */; + return kind === 121 /* SourceFile */ + || kind === 135 /* FunctionDeclaration */ + || kind === 133 /* StructDeclaration */; } exports.isContainerKind = isContainerKind; function isNamedDeclarationKind(kind) { - return kind === 122 /* SourceFile */ - || kind === 135 /* VariableDeclaration */ - || kind === 136 /* FunctionDeclaration */ - || kind === 134 /* StructDeclaration */ - || kind === 138 /* PropertyDeclaration */ + return kind === 121 /* SourceFile */ + || kind === 134 /* VariableDeclaration */ + || kind === 135 /* FunctionDeclaration */ + || kind === 133 /* StructDeclaration */ + || kind === 137 /* PropertyDeclaration */ // || kind === SyntaxKind.PropertyAccessExpression - || kind === 137 /* ParameterDeclaration */ - || kind === 139 /* TypedefDeclaration */; + || kind === 136 /* ParameterDeclaration */ + || kind === 138 /* TypedefDeclaration */; } exports.isNamedDeclarationKind = isNamedDeclarationKind; function isDeclarationKind(kind) { @@ -126,29 +136,29 @@ function isPartOfExpression(node) { case 64 /* NullKeyword */: case 62 /* TrueKeyword */: case 63 /* FalseKeyword */: - case 113 /* ArrayLiteralExpression */: - case 115 /* PropertyAccessExpression */: - case 114 /* ElementAccessExpression */: - case 116 /* CallExpression */: - case 120 /* TypeAssertionExpression */: - case 121 /* ParenthesizedExpression */: - case 117 /* PrefixUnaryExpression */: - case 118 /* PostfixUnaryExpression */: - case 119 /* BinaryExpression */: - case 108 /* Identifier */: + case 112 /* ArrayLiteralExpression */: + case 114 /* PropertyAccessExpression */: + case 113 /* ElementAccessExpression */: + case 115 /* CallExpression */: + case 119 /* TypeAssertionExpression */: + case 120 /* ParenthesizedExpression */: + case 116 /* PrefixUnaryExpression */: + case 117 /* PostfixUnaryExpression */: + case 118 /* BinaryExpression */: + case 107 /* Identifier */: return true; case 1 /* NumericLiteral */: case 2 /* StringLiteral */: const parent = node.parent; switch (parent.kind) { - case 135 /* VariableDeclaration */: - case 138 /* PropertyDeclaration */: - case 132 /* ExpressionStatement */: - case 124 /* IfStatement */: - case 125 /* DoStatement */: - case 126 /* WhileStatement */: - case 131 /* ReturnStatement */: - case 127 /* ForStatement */: + case 134 /* VariableDeclaration */: + case 137 /* PropertyDeclaration */: + case 131 /* ExpressionStatement */: + case 123 /* IfStatement */: + case 124 /* DoStatement */: + case 125 /* WhileStatement */: + case 130 /* ReturnStatement */: + case 126 /* ForStatement */: const forStatement = parent; return (forStatement.initializer === node) || forStatement.condition === node || @@ -163,7 +173,7 @@ function isPartOfExpression(node) { } exports.isPartOfExpression = isPartOfExpression; function isPartOfTypeNode(node) { - if (110 /* FirstTypeNode */ <= node.kind && node.kind <= 112 /* LastTypeNode */) { + if (109 /* FirstTypeNode */ <= node.kind && node.kind <= 111 /* LastTypeNode */) { return true; } switch (node.kind) { @@ -171,20 +181,20 @@ function isPartOfTypeNode(node) { case 70 /* FixedKeyword */: case 71 /* StringKeyword */: case 66 /* BoolKeyword */: - case 101 /* VoidKeyword */: + case 100 /* VoidKeyword */: return true; // Identifiers and qualified names may be type nodes, depending on their context. Climb // above them to find the lowest container - case 108 /* Identifier */: + case 107 /* Identifier */: // If the identifier is the RHS of a qualified name, then it's a type iff its parent is. - if (node.parent.kind === 115 /* PropertyAccessExpression */ && node.parent.name === node) { + if (node.parent.kind === 114 /* PropertyAccessExpression */ && node.parent.name === node) { node = node.parent; } // At this point, node is either a qualified name or an identifier // Debug.assert(node.kind === SyntaxKind.Identifier || node.kind === SyntaxKind.QualifiedName || node.kind === SyntaxKind.PropertyAccessExpression, // "'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'."); // falls through - case 115 /* PropertyAccessExpression */: + case 114 /* PropertyAccessExpression */: const parent = node.parent; // Do not recursively call isPartOfTypeNode on the parent. In the example: // @@ -192,15 +202,15 @@ function isPartOfTypeNode(node) { // // Calling isPartOfTypeNode would consider the qualified name A.B a type node. // Only C and A.B.C are type nodes. - if (110 /* FirstTypeNode */ <= parent.kind && parent.kind <= 112 /* LastTypeNode */) { + if (109 /* FirstTypeNode */ <= parent.kind && parent.kind <= 111 /* LastTypeNode */) { return true; } switch (parent.kind) { - case 138 /* PropertyDeclaration */: - case 137 /* ParameterDeclaration */: - case 135 /* VariableDeclaration */: + case 137 /* PropertyDeclaration */: + case 136 /* ParameterDeclaration */: + case 134 /* VariableDeclaration */: return node === parent.type; - case 136 /* FunctionDeclaration */: + case 135 /* FunctionDeclaration */: return node === parent.type; } } @@ -208,7 +218,7 @@ function isPartOfTypeNode(node) { } exports.isPartOfTypeNode = isPartOfTypeNode; function isRightSideOfPropertyAccess(node) { - return (node.parent.kind === 115 /* PropertyAccessExpression */ && node.parent.name === node); + return (node.parent.kind === 114 /* PropertyAccessExpression */ && node.parent.name === node); } exports.isRightSideOfPropertyAccess = isRightSideOfPropertyAccess; function isNodeOrArray(a) { @@ -302,7 +312,7 @@ function sourceFileToJSON(file) { // break; case "text": // Include 'text' field for identifiers/literals, but not for source files. - if (n.kind !== 122 /* SourceFile */) { + if (n.kind !== 121 /* SourceFile */) { o[propertyName] = n[propertyName]; } break; @@ -328,8 +338,15 @@ function findAncestor(node, callback) { return undefined; } exports.findAncestor = findAncestor; +function findAncestorByKind(node, kind) { + while (node && node.kind !== kind) { + node = node.parent; + } + return node; +} +exports.findAncestorByKind = findAncestorByKind; function getSourceFileOfNode(node) { - while (node && node.kind !== 122 /* SourceFile */) { + while (node && node.kind !== 121 /* SourceFile */) { node = node.parent; } return node; @@ -386,36 +403,36 @@ function forEachChild(node, cbNode, cbNodes) { return; } switch (node.kind) { - case 138 /* PropertyDeclaration */: + case 137 /* PropertyDeclaration */: return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode(cbNode, node.type) || visitNode(cbNode, node.name); - case 135 /* VariableDeclaration */: + case 134 /* VariableDeclaration */: return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode(cbNode, node.type) || visitNode(cbNode, node.name) || visitNode(cbNode, node.initializer); - case 136 /* FunctionDeclaration */: + case 135 /* FunctionDeclaration */: return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode(cbNode, node.type) || visitNode(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode(cbNode, node.body); - case 134 /* StructDeclaration */: + case 133 /* StructDeclaration */: return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.members); - case 137 /* ParameterDeclaration */: + case 136 /* ParameterDeclaration */: return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode(cbNode, node.name) || visitNode(cbNode, node.type); - case 139 /* TypedefDeclaration */: + case 138 /* TypedefDeclaration */: return visitNode(cbNode, node.type) || visitNode(cbNode, node.name); - case 112 /* ArrayType */: + case 111 /* ArrayType */: return visitNode(cbNode, node.elementType) || visitNode(cbNode, node.size); - case 111 /* MappedType */: + case 110 /* MappedType */: return visitNode(cbNode, node.returnType) || visitNodes(cbNode, cbNodes, node.typeArguments); // case SyntaxKind.TypeReference: @@ -427,54 +444,54 @@ function forEachChild(node, cbNode, cbNodes) { // return visitNodes(cbNode, cbNodes, (node).elements); // case SyntaxKind.ObjectLiteralExpression: // return visitNodes(cbNode, cbNodes, (node).properties); - case 115 /* PropertyAccessExpression */: + case 114 /* PropertyAccessExpression */: return visitNode(cbNode, node.expression) || visitNode(cbNode, node.name); - case 114 /* ElementAccessExpression */: + case 113 /* ElementAccessExpression */: return visitNode(cbNode, node.expression) || visitNode(cbNode, node.argumentExpression); - case 116 /* CallExpression */: + case 115 /* CallExpression */: return visitNode(cbNode, node.expression) || visitNodes(cbNode, cbNodes, node.arguments); - case 121 /* ParenthesizedExpression */: + case 120 /* ParenthesizedExpression */: return visitNode(cbNode, node.expression); - case 117 /* PrefixUnaryExpression */: + case 116 /* PrefixUnaryExpression */: return visitNode(cbNode, node.operator) || visitNode(cbNode, node.operand); - case 118 /* PostfixUnaryExpression */: + case 117 /* PostfixUnaryExpression */: return visitNode(cbNode, node.operand) || visitNode(cbNode, node.operator); - case 119 /* BinaryExpression */: + case 118 /* BinaryExpression */: return visitNode(cbNode, node.left) || visitNode(cbNode, node.operatorToken) || visitNode(cbNode, node.right); - case 123 /* Block */: + case 122 /* Block */: return visitNodes(cbNode, cbNodes, node.statements); - case 122 /* SourceFile */: + case 121 /* SourceFile */: return visitNodes(cbNode, cbNodes, node.statements); - case 132 /* ExpressionStatement */: + case 131 /* ExpressionStatement */: return visitNode(cbNode, node.expression); - case 124 /* IfStatement */: + case 123 /* IfStatement */: return visitNode(cbNode, node.expression) || visitNode(cbNode, node.thenStatement) || visitNode(cbNode, node.elseStatement); - case 125 /* DoStatement */: + case 124 /* DoStatement */: return visitNode(cbNode, node.statement) || visitNode(cbNode, node.expression); - case 126 /* WhileStatement */: + case 125 /* WhileStatement */: return visitNode(cbNode, node.expression) || visitNode(cbNode, node.statement); - case 127 /* ForStatement */: + case 126 /* ForStatement */: return visitNode(cbNode, node.initializer) || visitNode(cbNode, node.condition) || visitNode(cbNode, node.incrementor) || visitNode(cbNode, node.statement); - case 129 /* ContinueStatement */: - case 128 /* BreakStatement */: + case 128 /* ContinueStatement */: + case 127 /* BreakStatement */: break; - case 131 /* ReturnStatement */: + case 130 /* ReturnStatement */: return visitNode(cbNode, node.expression); - case 130 /* IncludeStatement */: + case 129 /* IncludeStatement */: return visitNode(cbNode, node.path); } } diff --git a/lib/compiler/utils.js.map b/lib/compiler/utils.js.map index 65af731..0ddd288 100644 --- a/lib/compiler/utils.js.map +++ b/lib/compiler/utils.js.map @@ -1 +1 @@ -{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/compiler/utils.ts"],"names":[],"mappings":";;AAAA,iCAAiC;AAGjC;;;GAGG;AACH,iBAAwB,CAAO;IAC3B,MAAM,CAAS,CAAC,CAAC,IAAI,sBAA+B,IAAY,CAAC,CAAC,IAAI,uBAA8B,CAAC;AACzG,CAAC;AAFD,0BAEC;AAED,wBAA+B,KAAiB;IAC5C,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;QACZ,2BAA6B;QAC7B,4BAA8B;QAC9B;YACI,MAAM,CAAC,IAAI,CAAC;IACpB,CAAC;IACD,MAAM,CAAC,KAAK,CAAC;AACjB,CAAC;AARD,wCAQC;AAED,2BAAkC,KAAiB;IAC/C,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;QACZ,6BAA+B;QAC/B,2BAA6B;QAC7B,gCAAkC;QAClC,8BAAgC;QAChC,gCAAkC;QAClC,0BAA4B;QAC5B,6BAA+B;QAC/B,0BAA4B;QAC5B,0BAA4B;QAC5B,gCAAkC;QAClC,0BAA4B;QAC5B,2BAA6B;QAC7B,4BAA8B;QAC9B,2BAA6B;QAC7B,4BAA8B;QAC9B,mCAAqC;QACrC,mCAAqC;QACrC,yBAA2B;QAC3B,4BAA8B;QAC9B,2BAA6B;QAC7B,iCAAmC;QACnC,2BAA6B;QAC7B,4BAA8B;QAC9B,8BAAgC;QAChC,2BAA6B;QAC7B,+BAAiC;QACjC,4BAA8B;QAC9B,0BAA4B;QAC5B,2BAA6B;QAC7B,wCAA0C;QAC1C,6BAA+B;QAC/B,0BAA4B;QAC5B,gCAAkC;QAClC,+BAAiC;QACjC,8BAA+B;QAC/B,2BAA4B;QAC5B,2BAA4B;QAC5B,+BAAgC;QAChC,iCAAkC;QAClC,+BAAgC;QAChC,gCAAiC;QACjC;YACI,MAAM,CAAC,IAAI,CAAC;IACpB,CAAC;IACD,MAAM,CAAC,KAAK,CA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ACd,WAAW,EAAE,GAAG;KACnB,CAAC;AACN,CAAC;AAVD,0DAUC"} \ No newline at end of file diff --git a/lib/service/completions.js b/lib/service/completions.js index df6b278..0f9b85a 100644 --- a/lib/service/completions.js +++ b/lib/service/completions.js @@ -93,20 +93,20 @@ class CompletionsProvider extends provider_1.AbstractProvider { data: {}, }; switch (node.kind) { - case 134 /* StructDeclaration */: + case 133 /* StructDeclaration */: item.kind = lsp.CompletionItemKind.Class; break; - case 136 /* FunctionDeclaration */: + case 135 /* FunctionDeclaration */: item.kind = lsp.CompletionItemKind.Function; break; - case 135 /* VariableDeclaration */: - case 137 /* ParameterDeclaration */: + case 134 /* VariableDeclaration */: + case 136 /* ParameterDeclaration */: item.kind = lsp.CompletionItemKind.Variable; break; - case 138 /* PropertyDeclaration */: + case 137 /* PropertyDeclaration */: item.kind = lsp.CompletionItemKind.Property; break; - case 139 /* TypedefDeclaration */: + case 138 /* TypedefDeclaration */: item.kind = lsp.CompletionItemKind.Interface; break; default: @@ -134,7 +134,7 @@ class CompletionsProvider extends provider_1.AbstractProvider { let completions = []; for (const document of this.store.documents.values()) { for (const [name, symbol] of document.symbol.members) { - if (symbol.declarations[0].kind !== 136 /* FunctionDeclaration */) + if (symbol.declarations[0].kind !== 135 /* FunctionDeclaration */) continue; const funcDecl = symbol.declarations[0]; if (funcDecl.type.kind !== 66 /* BoolKeyword */) @@ -183,8 +183,8 @@ class CompletionsProvider extends provider_1.AbstractProvider { if (currentToken && currentToken.kind === 2 /* StringLiteral */) { const callExpr = currentToken.parent; // trigger handlers - if (callExpr.kind === 116 /* CallExpression */ && - callExpr.expression.kind === 108 /* Identifier */ && + if (callExpr.kind === 115 /* CallExpression */ && + callExpr.expression.kind === 107 /* Identifier */ && (callExpr.expression).name === "TriggerCreate") { return this.provideTriggerHandlers(); } @@ -204,7 +204,7 @@ class CompletionsProvider extends provider_1.AbstractProvider { // query let query = null; const processedSymbols = new Map(); - if (currentToken && currentToken.pos <= position && currentToken.end >= position && currentToken.kind === 108 /* Identifier */) { + if (currentToken && currentToken.pos <= position && currentToken.end >= position && currentToken.kind === 107 /* Identifier */) { const offset = position -= currentToken.pos; query = currentToken.name.substr(0, offset); } @@ -223,18 +223,18 @@ class CompletionsProvider extends provider_1.AbstractProvider { } if (currentToken) { // properties - if ((currentToken.kind === 9 /* DotToken */ || currentToken.kind === 108 /* Identifier */) && - (currentToken.parent.kind === 115 /* PropertyAccessExpression */ && currentToken.parent.expression !== currentToken)) { + if ((currentToken.kind === 9 /* DotToken */ || currentToken.kind === 107 /* Identifier */) && + (currentToken.parent.kind === 114 /* PropertyAccessExpression */ && currentToken.parent.expression !== currentToken)) { const checker = new checker_1.TypeChecker(this.store); currentToken = currentToken.parent.expression; const type = checker.getTypeOfNode(currentToken, true); - if (type.flags & 4096 /* Struct */) { + if (type.flags & 8192 /* Struct */) { return this.buildFromSymbolMembers(type.symbol); } } // local variables const currentContext = utils_1.findAncestor(currentToken, (element) => { - return element.kind === 136 /* FunctionDeclaration */; + return element.kind === 135 /* FunctionDeclaration */; }); if (currentContext) { completions = completions.concat(this.buildFromSymbolMembers(currentContext.symbol, query)); @@ -248,7 +248,7 @@ class CompletionsProvider extends provider_1.AbstractProvider { kind: lsp.CompletionItemKind.Keyword }); } - for (let i = 72 /* FirstComplexType */; i <= 104 /* LastComplexType */; i++) { + for (let i = 72 /* FirstComplexType */; i <= 103 /* LastComplexType */; i++) { completions.push({ label: scanner_1.tokenToString(i), kind: lsp.CompletionItemKind.Keyword @@ -302,7 +302,7 @@ class CompletionsProvider extends provider_1.AbstractProvider { const decl = symbol.declarations[0]; let funcArgs = []; // TODO: support funcrefs expansion - if (decl.kind === 136 /* FunctionDeclaration */ && this.config.functionExpand !== 1 /* Parenthesis */) { + if (decl.kind === 135 /* FunctionDeclaration */ && this.config.functionExpand !== 1 /* Parenthesis */) { funcArgs = this.expandFunctionArguments(decl); } if (funcArgs) { @@ -321,14 +321,14 @@ class CompletionsProvider extends provider_1.AbstractProvider { completion.documentation = s2meta_1.getDocumentationOfSymbol(this.store, symbol); let node = symbol.declarations[0]; switch (node.kind) { - case 136 /* FunctionDeclaration */: + case 135 /* FunctionDeclaration */: node = Object.create(node); node.body = null; // pass through - case 135 /* VariableDeclaration */: - case 137 /* ParameterDeclaration */: - case 138 /* PropertyDeclaration */: - case 139 /* TypedefDeclaration */: + case 134 /* VariableDeclaration */: + case 136 /* ParameterDeclaration */: + case 137 /* PropertyDeclaration */: + case 138 /* TypedefDeclaration */: completion.detail = this.printer.printNode(node); break; } diff --git a/lib/service/definitions.js b/lib/service/definitions.js index 8c4556c..bf020cf 100644 --- a/lib/service/definitions.js +++ b/lib/service/definitions.js @@ -11,7 +11,7 @@ class DefinitionProvider extends provider_1.AbstractProvider { if (!sourceFile) return; const currentToken = utils_2.getTokenAtPosition(position, sourceFile); - if (!currentToken || currentToken.kind !== 108 /* Identifier */) { + if (!currentToken || currentToken.kind !== 107 /* Identifier */) { return []; } const definitions = []; diff --git a/lib/service/hover.js b/lib/service/hover.js index f314fee..9e4c1c1 100644 --- a/lib/service/hover.js +++ b/lib/service/hover.js @@ -17,7 +17,7 @@ class HoverProvider extends provider_1.AbstractProvider { return; const position = utils_1.getPositionOfLineAndCharacter(sourceFile, params.position.line, params.position.character); const currentToken = utils_1.getTokenAtPosition(position, sourceFile); - if (!currentToken || currentToken.kind !== 108 /* Identifier */) { + if (!currentToken || currentToken.kind !== 107 /* Identifier */) { return null; } const checker = new checker_1.TypeChecker(this.store); @@ -27,7 +27,7 @@ class HoverProvider extends provider_1.AbstractProvider { } const content = []; let decl = symbol.declarations[0]; - if (decl.kind === 136 /* FunctionDeclaration */) { + if (decl.kind === 135 /* FunctionDeclaration */) { decl = Object.assign({}, decl, { body: null }); } let code = this.printer.printNode(decl).trim(); diff --git a/lib/service/navigation.js b/lib/service/navigation.js index 7d9e37f..1074e5e 100644 --- a/lib/service/navigation.js +++ b/lib/service/navigation.js @@ -9,12 +9,12 @@ function collectDeclarations(sourceFile) { declarations.push(node); } function visitNode(node) { - if (node.kind === 135 /* VariableDeclaration */ || - node.kind === 136 /* FunctionDeclaration */ || - node.kind === 134 /* StructDeclaration */) { + if (node.kind === 134 /* VariableDeclaration */ || + node.kind === 135 /* FunctionDeclaration */ || + node.kind === 133 /* StructDeclaration */) { registerDeclaration(node); } - if (node.kind === 122 /* SourceFile */) { + if (node.kind === 121 /* SourceFile */) { utils_1.forEachChild(node, child => visitNode(child)); } } diff --git a/lib/service/s2meta.js b/lib/service/s2meta.js index f2e83d2..2ad427e 100644 --- a/lib/service/s2meta.js +++ b/lib/service/s2meta.js @@ -180,10 +180,10 @@ class S2WorkspaceMetadata { } getElementTypeOfNode(node) { // if (node.kind !== gt.SyntaxKind.StringLiteral) return null; - if (node.parent.kind !== 116 /* CallExpression */) + if (node.parent.kind !== 115 /* CallExpression */) return null; const callExpr = node.parent; - if (callExpr.expression.kind !== 108 /* Identifier */) + if (callExpr.expression.kind !== 107 /* Identifier */) return null; const el = this.findElementByName(callExpr.expression.name); if (!el) @@ -210,6 +210,8 @@ class S2WorkspaceMetadata { if (el.flags & 16 /* Event */) { index--; } + if (el.getParameters().length <= index) + return null; return el.getParameters()[index].type; } getLinksForGameType(gameType) { diff --git a/lib/service/s2meta.js.map b/lib/service/s2meta.js.map index bc6acf5..5c1387c 100644 --- a/lib/service/s2meta.js.map +++ b/lib/service/s2meta.js.map @@ -1 +1 @@ -{"version":3,"file":"s2meta.js","sourceRoot":"","sources":["../../src/service/s2meta.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wCAAwC;AAGxC,0CAA0C;AAK1C,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;AACjD,MAAM,mBAAmB,GAAG,YAAY,CAAC;AACzC,MAAM,aAAa,GAAG,IAAI,CAAC;AAC3B,MAAM,OAAO,GAAG,IAAI,CAAC;AAErB;IAgGI,YAAY,SAAuB;QA9FzB,cAAS,GAA8B,IAAI,GAAG,EAAE,CAAC;QACjD,yBAAoB,GAA6B,IAAI,GAAG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AW,CAAC,CAAC;AAC7D,CAAC;AAHD,4DAGC"} \ No newline at end of file diff --git a/lib/service/server.js b/lib/service/server.js index 23d3d3d..127c605 100644 --- a/lib/service/server.js +++ b/lib/service/server.js @@ -51,15 +51,15 @@ function translateDiagnostics(sourceFile, origDiagnostics) { } function translateNodeKind(node) { switch (node.kind) { - case 135 /* VariableDeclaration */: + case 134 /* VariableDeclaration */: const variable = node; const isConstant = variable.modifiers.some((value) => { return value.kind === 52 /* ConstKeyword */; }); return isConstant ? lsp.SymbolKind.Constant : lsp.SymbolKind.Variable; - case 136 /* FunctionDeclaration */: + case 135 /* FunctionDeclaration */: return lsp.SymbolKind.Function; - case 134 /* StructDeclaration */: + case 133 /* StructDeclaration */: return lsp.SymbolKind.Class; default: return lsp.SymbolKind.Field; @@ -70,7 +70,7 @@ function translateDeclaratons(origDeclarations) { let kind; for (let node of origDeclarations) { const sourceFile = utils_1.findAncestor(node, (element) => { - return element.kind === 122 /* SourceFile */; + return element.kind === 121 /* SourceFile */; }); symbols.push({ kind: translateNodeKind(node), diff --git a/lib/service/signatures.js b/lib/service/signatures.js index 00ac9dd..4f3d25e 100644 --- a/lib/service/signatures.js +++ b/lib/service/signatures.js @@ -78,7 +78,7 @@ class SignaturesProvider extends provider_1.AbstractProvider { } let node = currentToken.parent; const callNode = utils_1.findAncestor(node, (element) => { - if (element.kind !== 116 /* CallExpression */) { + if (element.kind !== 115 /* CallExpression */) { return false; } // we don't want to provide signature for left side of CallExpression @@ -96,7 +96,7 @@ class SignaturesProvider extends provider_1.AbstractProvider { } const checker = new checker_1.TypeChecker(this.store); const type = checker.getTypeOfNode(callNode.expression, true); - if (type.flags & 8192 /* Function */) { + if (type.flags & 16384 /* Function */) { const signatureInfo = this.getSignatureOfFunction(type.symbol); signatureHelp.activeSignature = 0; signatureHelp.activeParameter = this.evaluateActiveParameter(callNode, position); diff --git a/lib/service/signatures.js.map b/lib/service/signatures.js.map index cfdb69a..fd4d088 100644 --- a/lib/service/signatures.js.map +++ b/lib/service/signatures.js.map @@ -1 +1 @@ -{"version":3,"file":"signatures.js","sourceRoot":"","sources":["../../src/service/signatures.ts"],"names":[],"mappings":";;AAAA,wCAAwC;AAGxC,6CAAsE;AACtE,iDAA8C;AAC9C,iDAAkD;AAClD,yCAA8C;AAC9C,mCAA6C;AAC7C,qCAAoD;AAEpD,wBAAgC,SAAQ,2BAAgB;IAAxD;;QACY,YAAO,GAAY,IAAI,iBAAO,EAAE,CAAC;IAkH7C,CAAC;IAhHW,uBAAuB,CAAC,QAAwB,EAAE,QAAgB;QACtE,IAAI,WAAW,GAAkB,IAAI,CAAC;QACtC,IAAI,OAAgB,CAAC;QAErB,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,QAAoB,EAAE,KAAa,EAAE,IAAI,EAAE,EAAE;YAClE,EAAE,CAAC,CAAC,QAAQ,CAAC,GAAG,IAAI,QAAQ,CAAC,CAAC,CAAC;gBAC3B,WAAW,GAAG,KAAK,CAAC;gBACpB,OAAO,GAAG,QAAQ,CAAC;gBAEnB,4CAA4C;gBAC5C,oDAAoD;gBACpD,EAAE,CAAC,CAAC,QAAQ,CAAC,GAAG,IAAI,QAAQ,CAAC,CAAC,CAAC;oBAC3B,MAAM,CAAC,IAAI,CAAC;gBAChB,CAAC;gBAED,qFAAqF;gBACrF,EAAE,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;oBAC1D,WAAW,EAAE,CAAC;gBAClB,CAAC;YACL,CAAC;YAED,IAAI,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;gBACf,WAAW,GAAG,KAAK,CAAC;gBACpB,MAAM,CAAC,IAAI,CAAC;YAChB,CAAC;YAED,MAAM,CAAC;QACX,CAAC,CAAC,CAAC;QAEH,MAAM,CAAC,WAAW,CAAC;IACvB,CAAC;IAEM,sBAAsB,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