Documentation ¶
Index ¶
- Constants
- Variables
- func ArrowFunctionNeedExpressionOrBlock() string
- func AssignLeftSideEmpty() string
- func AssignRightSideEmpty() string
- func BinaryOperatorNotSupport(op string) string
- func ExpressionNotVariable(expr string) string
- func FieldCallTargetError(name string) string
- func FrontEnd(src string, must bool) (*yak.ProgramContext, error)
- func InvalidChanType(typ string) string
- func MakeArgumentTooMuch(typ string) string
- func MakeUnknownType() string
- func MultipleAssignFailed(left, right int) string
- func NotSetTypeInMakeExpression() string
- func SliceCallExpressionIsEmpty() string
- func SliceCallExpressionTooMuch() string
- func UnaryOperatorNotSupport(op string) string
- func UnexpectedAssertStmt() string
- func UnexpectedBreakStmt() string
- func UnexpectedContinueStmt() string
- func UnexpectedFallthroughStmt() string
- type ExpressionListMultiline
- type MapPairs
- type SSABuilder
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 ExpressionNotVariable ¶
func FieldCallTargetError ¶
func InvalidChanType ¶ added in v1.3.1
func MakeArgumentTooMuch ¶ added in v1.3.1
func MakeUnknownType ¶
func MakeUnknownType() string
func MultipleAssignFailed ¶
func NotSetTypeInMakeExpression ¶
func NotSetTypeInMakeExpression() string
func SliceCallExpressionIsEmpty ¶
func SliceCallExpressionIsEmpty() string
func SliceCallExpressionTooMuch ¶
func SliceCallExpressionTooMuch() string
func UnaryOperatorNotSupport ¶
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{}
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
Click to show internal directories.
Click to hide internal directories.