Documentation ¶
Index ¶
- Constants
- Variables
- func ArrowFunctionNeedExpressionOrBlock() string
- func AssignLeftSideEmpty() string
- func AssignRightSideEmpty() string
- func BinaryOperatorNotSupport(op string) string
- func ExpressionNotVariable(expr string) string
- func Frontend(src string, must bool) (*JS.ProgramContext, error)
- func MakeSliceArgumentTooMuch() 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 UndefineLabelstmt() string
- func UnexpectedAssertStmt() string
- func UnexpectedBreakStmt() string
- func UnexpectedContinueStmt() string
- func UnexpectedFallthroughStmt() string
- type SSABuild
Constants ¶
View Source
const TAG ssa.ErrorTag = "JS"
Variables ¶
View Source
var Builder = &SSABuild{}
Functions ¶
func ArrowFunctionNeedExpressionOrBlock ¶
func ArrowFunctionNeedExpressionOrBlock() string
func AssignLeftSideEmpty ¶
func AssignLeftSideEmpty() string
func AssignRightSideEmpty ¶
func AssignRightSideEmpty() string
func ExpressionNotVariable ¶
func MakeSliceArgumentTooMuch ¶
func MakeSliceArgumentTooMuch() string
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 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 ¶
type SSABuild ¶ added in v1.3.3
type SSABuild struct {
ssa.DummyExtraFileAnalyzer
}
func (*SSABuild) FilterFile ¶ added in v1.3.3
func (*SSABuild) GetLanguage ¶
Click to show internal directories.
Click to hide internal directories.