@adamsy/bhai-lang
Version:
<h1 align="center">Bhai Lang</h1> <p align="center"> <a href="https://lgtm.com/projects/g/DulLabs/bhai-lang/alerts/"><img alt="Total alerts" src="https://img.shields.io/lgtm/alerts/g/DulLabs/bhai-lang.svg?logo=lgtm&logoWidth=18"/></a> <a href="https://lgt
31 lines (30 loc) • 1.18 kB
text/typescript
export const NodeType = {
AdditiveExpression: "AdditiveExpression",
MultiplicativeExpression: "MultiplicativeExpression",
PrimaryExpression: "PrimaryExpression",
ParanthesizedExpression: "ParanthesizedExpression",
IdentifierExpression: "IdentifierExpression",
AssignmentExpression: "AssignmentExpression",
BinaryExpression: "BinaryExpression",
LogicalExpression: "LogicalExpression",
LogicalANDExpression: "LogicalANDExpression",
LogicalORExpression: "LogicalORExpression",
RelationalExpression: "RelationalExpression",
EqualityExpression: "EqualityExpression",
BlockStatement: "BlockStatement",
EmptyStatement: "EmptyStatement",
ExpressionStatement: "ExpressionStatement",
InitStatement: "InitStatement",
PrintStatement: "PrintStatement",
IfStatement: "IfStatement",
WhileStatement: "WhileStatement",
BreakStatement: "BreakStatement",
ContinueStatement: "ContinueStatement",
VariableStatement: "VariableStatement",
BooleanLiteral: "BooleanLiteral",
NumericLiteral: "NumericLiteral",
StringLiteral: "StringLiteral",
NullLiteral: "NullLiteral",
VariableDeclaration: "VariableDeclaration",
Program: "Program",
} as const;