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) (*gol.SourceFileContext, error)
- func InvalidChanType(typ string) string
- func MakeArgumentTooMuch(typ string) string
- func MakeSliceArgumentTooMuch() string
- func MakeUnknownType() string
- func MultipleAssignFailed(left, right int) string
- func NotSetTypeInMakeExpression(typ string) 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 SSABuilder
Constants ¶
View Source
const TAG ssa.ErrorTag = "GO"
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 InvalidChanType ¶
func MakeArgumentTooMuch ¶
func MakeSliceArgumentTooMuch ¶
func MakeSliceArgumentTooMuch() string
func MakeUnknownType ¶
func MakeUnknownType() string
func MultipleAssignFailed ¶
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 SSABuilder ¶
type SSABuilder struct {
ssa.DummyExtraFileAnalyzer
}
func (*SSABuilder) Build ¶
func (*SSABuilder) Build(src string, force bool, builder *ssa.FunctionBuilder) error
func (*SSABuilder) FilterFile ¶
func (*SSABuilder) FilterFile(path string) bool
func (*SSABuilder) GetLanguage ¶
func (*SSABuilder) GetLanguage() consts.Language
Click to show internal directories.
Click to hide internal directories.