yak2ssa

package
v1.3.5-alpha-0814 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const TAG ssa.ErrorTag = "yakast"

Variables

View Source
var Builder = &SSABuilder{}

Functions

func ArrowFunctionNeedExpressionOrBlock

func ArrowFunctionNeedExpressionOrBlock() string

func AssignLeftSideEmpty

func AssignLeftSideEmpty() string

func AssignRightSideEmpty

func AssignRightSideEmpty() string

func BinaryOperatorNotSupport

func BinaryOperatorNotSupport(op string) string

func ExpressionNotVariable

func ExpressionNotVariable(expr string) string

func FieldCallTargetError

func FieldCallTargetError(name string) string

func FrontEnd added in v1.3.3

func FrontEnd(src string, must bool) (*yak.ProgramContext, error)

func InvalidChanType added in v1.3.1

func InvalidChanType(typ string) string

func MakeArgumentTooMuch added in v1.3.1

func MakeArgumentTooMuch(typ string) string

func MakeUnknownType

func MakeUnknownType() string

func MultipleAssignFailed

func MultipleAssignFailed(left, right int) string

func NotSetTypeInMakeExpression

func NotSetTypeInMakeExpression() string

func SliceCallExpressionIsEmpty

func SliceCallExpressionIsEmpty() string

func SliceCallExpressionTooMuch

func SliceCallExpressionTooMuch() string

func UnaryOperatorNotSupport

func UnaryOperatorNotSupport(op string) string

func UnexpectedAssertStmt

func UnexpectedAssertStmt() string

func UnexpectedBreakStmt

func UnexpectedBreakStmt() string

func UnexpectedContinueStmt

func UnexpectedContinueStmt() string

func UnexpectedFallthroughStmt

func UnexpectedFallthroughStmt() string

Types

type ExpressionListMultiline

type ExpressionListMultiline interface {
	ExpressionListMultiline() yak.IExpressionListMultilineContext
}

type MapPairs

type MapPairs interface {
	MapPairs() yak.IMapPairsContext
}

type SSABuilder added in v1.3.3

type SSABuilder struct {
	ssa.DummyExtraFileAnalyzer
}

func (*SSABuilder) Build added in v1.3.3

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

func (*SSABuilder) FilterFile added in v1.3.3

func (*SSABuilder) FilterFile(path string) bool

func (*SSABuilder) GetLanguage

func (*SSABuilder) GetLanguage() consts.Language

Jump to

Keyboard shortcuts

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