package
0.2.0
Repository: https://github.com/matthewmueller/joy.git
Documentation: pkg.go.dev

# Functions

Assemble JS from the AST.
CreateArrayExpression fn.
CreateAssignmentExpression fn.
CreateAsyncFunction fn.
CreateAsyncFunctionExpression fn.
CreateAwaitExpression fn.
CreateBinaryExpression fn.
CreateBlockStatement fn.
CreateBoolean fn.
CreateBreakStatement fn.
CreateCallExpression fn.
CreateEmptyStatement fn.
CreateExpressionStatement fn.
CreateFloat fn.
CreateForInStatement fn.
CreateForStatement fn.
CreateFunction fn.
CreateFunctionBody fn.
CreateFunctionExpression fn.
CreateGeneratorFunction fn.
CreateGeneratorFunctionExpression fn.
CreateIdentifier fn.
CreateIfStatement fn.
CreateInt fn.
CreateLiteral fn.
CreateLogicalExpression fn.
CreateMemberExpression fn.
CreateMultiStatement fn.
CreateNewExpression fn.
CreateNull fn.
CreateObjectExpression fn.
CreateProgram fn.
CreateProperty fn.
CreateRaw fn.
CreateRegex fn.
CreateReturnStatement fn.
CreateSequenceExpression fn.
CreateString fn.
CreateThisExpression fn.
CreateThrowStatement fn.
CreateUpdateExpression fn.
CreateVariableDeclaration fn.
CreateVariableDeclarator fn.

# Variables

Singletons.
Singletons.
Singletons.
Singletons.
Singletons.

# Structs

ArrayExpression struct.
AssignmentExpression struct.
AwaitExpression struct.
BinaryExpression struct.
BlockStatement struct.
BreakStatement struct.
CallExpression struct A function or method call expression.
CatchClause struct.
ConditionalExpression struct A conditional expression, i.e., a ternary ?/: expression.
ContinueStatement struct.
DebuggerStatement struct.
Declaration struct.
Directive struct.
DoWhileStatement struct.
EmptyStatement struct.
Expression struct.
ExpressionStatement struct.
ForInStatement struct.
ForStatement struct.
Function struct.
FunctionBody struct.
FunctionDeclaration struct.
FunctionExpression struct.
Identifier struct.
IfStatement struct.
LabeledStatement struct.
Literal struct.
LogicalExpression struct.
MemberExpression struct A member expression.
MultiStatement struct.
NewExpression struct A `new` expression.
Node struct.
ObjectExpression struct.
Pattern struct Destructuring binding and assignment are not part of ES5, but all binding positions accept Pattern to allow for destructuring in ES6.
Position struct.
Program struct.
Property struct.
Raw extension for js strings.
RegExpLiteral struct.
ReturnStatement struct.
SequenceExpression struct A sequence expression, i.e., a comma-separated sequence of expressions.
SourceLocation struct.
Statement struct.
SwitchCase struct.
SwitchStatement struct.
ThisExpression struct.
ThrowStatement struct.
TryStatement struct.
UnaryExpression struct.
UpdateExpression struct.
VariableDeclaration struct.
VariableDeclarator struct.
WhileStatement struct.
WithStatement struct.

# Interfaces

IBlockStatement interface.
IDeclaration interface.
IExpression interface.
IExpressionStatement interface.
IFunction interface.
ILiteral interface.
INode interface.
IPattern interface.
IStatement interface.

# Type aliases

AssignmentOperator enum "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=".
BinaryOperator enum "==" | "!=" | "===" | "!==" | "<" | "<=" | ">" | ">=" | "<<" | ">>" | ">>>" | "+" | "-" | "*" | "/" | "%" | "|" | "^" | "&" | "in" | "instanceof".
LogicalOperator struct "||" | "&&".
UnaryOperator enum "-" | "+" | "!" | "~" | "typeof" | "void" | "delete".
UpdateOperator enum "++" | "--".