mildew.nodes

This module implements the expression and statement node classes, which are used internally as a syntax tree. The Parser generates the tree and the Compiler traverses it to emit bytecode into Chunks.

────────────────────────────────────────────────────────────────────────────────

Copyright (C) 2021 pillager86.rf.gd

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

Members

Classes

ArrayIndexNode
class ArrayIndexNode

Undocumented in source.

ArrayLiteralNode
class ArrayLiteralNode

Undocumented in source.

BinaryOpNode
class BinaryOpNode

Undocumented in source.

BlockStatementNode
class BlockStatementNode

Undocumented in source.

BreakStatementNode
class BreakStatementNode

Undocumented in source.

ClassDeclarationStatementNode
class ClassDeclarationStatementNode

Undocumented in source.

ClassDefinition
class ClassDefinition

handles class expression and declaration data

ClassLiteralNode
class ClassLiteralNode

Undocumented in source.

ContinueStatementNode
class ContinueStatementNode

Undocumented in source.

DeleteStatementNode
class DeleteStatementNode

Undocumented in source.

DestructureTargetNode
class DestructureTargetNode

Undocumented in source.

DoWhileStatementNode
class DoWhileStatementNode

Undocumented in source.

ExpressionNode
class ExpressionNode

root class of expression nodes

ExpressionStatementNode
class ExpressionStatementNode

Undocumented in source.

ForOfStatementNode
class ForOfStatementNode

Undocumented in source.

ForStatementNode
class ForStatementNode

Undocumented in source.

FunctionCallNode
class FunctionCallNode

Undocumented in source.

FunctionDeclarationStatementNode
class FunctionDeclarationStatementNode

Undocumented in source.

FunctionLiteralNode
class FunctionLiteralNode

Undocumented in source.

IfStatementNode
class IfStatementNode

Undocumented in source.

LambdaNode
class LambdaNode

Undocumented in source.

LiteralNode
class LiteralNode

Undocumented in source.

MemberAccessNode
class MemberAccessNode

Undocumented in source.

NewExpressionNode
class NewExpressionNode

Undocumented in source.

ObjectLiteralNode
class ObjectLiteralNode

Undocumented in source.

PostfixOpNode
class PostfixOpNode

Undocumented in source.

ReturnStatementNode
class ReturnStatementNode

Undocumented in source.

StatementNode
class StatementNode

root class of all statement nodes

SuperNode
class SuperNode

for when the super keyword is not used as a constructor

SwitchBody
class SwitchBody

Undocumented in source.

SwitchStatementNode
class SwitchStatementNode

Undocumented in source.

TemplateStringNode
class TemplateStringNode

Undocumented in source.

TerniaryOpNode
class TerniaryOpNode

Undocumented in source.

ThrowStatementNode
class ThrowStatementNode

Undocumented in source.

TryCatchBlockStatementNode
class TryCatchBlockStatementNode

Undocumented in source.

UnaryOpNode
class UnaryOpNode

Undocumented in source.

VarAccessNode
class VarAccessNode

Undocumented in source.

VarDeclarationStatementNode
class VarDeclarationStatementNode

Undocumented in source.

WhileStatementNode
class WhileStatementNode

Undocumented in source.

YieldNode
class YieldNode

Undocumented in source.

Meta