js2ssa

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const TAG ssa.ErrorTag = "JS"

Variables

This section is empty.

Functions

func ArrowFunctionNeedExpressionOrBlock

func ArrowFunctionNeedExpressionOrBlock() string

func AssignLeftSideEmpty

func AssignLeftSideEmpty() string

func AssignRightSideEmpty

func AssignRightSideEmpty() string

func BinaryOperatorNotSupport

func BinaryOperatorNotSupport(op string) string

func Build added in v1.3.2

func Build(src string, force bool, builder *ssa.FunctionBuilder) error

func ExpressionNotVariable

func ExpressionNotVariable(expr string) string

func Frontend added in v1.3.2

func Frontend(src string, must bool) (*JS.ProgramContext, error)

func MakeSliceArgumentTooMuch

func MakeSliceArgumentTooMuch() string

func MakeUnknownType

func MakeUnknownType() string

func MultipleAssignFailed

func MultipleAssignFailed(left, right int) string

func NewAstBuilder added in v1.3.1

func NewAstBuilder(functionBuilder *ssa.FunctionBuilder) *astbuilder

func NotSetTypeInMakeExpression

func NotSetTypeInMakeExpression() string

func SliceCallExpressionIsEmpty

func SliceCallExpressionIsEmpty() string

func SliceCallExpressionTooMuch

func SliceCallExpressionTooMuch() string

func UnaryOperatorNotSupport

func UnaryOperatorNotSupport(op string) string

func UndefineLabelstmt

func UndefineLabelstmt() string

func UnexpectedAssertStmt

func UnexpectedAssertStmt() string

func UnexpectedBreakStmt

func UnexpectedBreakStmt() string

func UnexpectedContinueStmt

func UnexpectedContinueStmt() string

func UnexpectedFallthroughStmt

func UnexpectedFallthroughStmt() string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL