mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-26 21:21:54 +00:00
Initial element access compilation; Carefully approaching std array
This commit is contained in:
12
src/ast.ts
12
src/ast.ts
@ -363,12 +363,12 @@ export abstract class Node {
|
||||
stmt.decoratorKind = DecoratorKind.OPERATOR;
|
||||
break;
|
||||
|
||||
case "struct":
|
||||
stmt.decoratorKind = DecoratorKind.STRUCT;
|
||||
case "explicit":
|
||||
stmt.decoratorKind = DecoratorKind.EXPLICIT;
|
||||
break;
|
||||
|
||||
case "size":
|
||||
stmt.decoratorKind = DecoratorKind.SIZE;
|
||||
case "offset":
|
||||
stmt.decoratorKind = DecoratorKind.OFFSET;
|
||||
break;
|
||||
|
||||
default:
|
||||
@ -1382,8 +1382,8 @@ export const enum DecoratorKind {
|
||||
CUSTOM,
|
||||
GLOBAL,
|
||||
OPERATOR,
|
||||
STRUCT,
|
||||
SIZE
|
||||
EXPLICIT,
|
||||
OFFSET
|
||||
}
|
||||
|
||||
/** Depresents a decorator. */
|
||||
|
Reference in New Issue
Block a user