Documentation
¶
Index ¶
- Constants
- 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 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 UnexpectedAssertStmt() string
- func UnexpectedBreakStmt() string
- func UnexpectedContinueStmt() string
- func UnexpectedFallthroughStmt() string
- type ErrorListener
- type ExpressionListMultiline
- type MapPairs
- type Parser
Constants ¶
View Source
const TAG ssa.ErrorTag = "yakast"
Variables ¶
This section is empty.
Functions ¶
func ArrowFunctionNeedExpressionOrBlock ¶
func ArrowFunctionNeedExpressionOrBlock() string
func AssignLeftSideEmpty ¶
func AssignLeftSideEmpty() string
func AssignRightSideEmpty ¶
func AssignRightSideEmpty() string
func ExpressionNotVariable ¶
func FieldCallTargetError ¶
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 UnexpectedAssertStmt ¶
func UnexpectedAssertStmt() string
func UnexpectedBreakStmt ¶
func UnexpectedBreakStmt() string
func UnexpectedContinueStmt ¶
func UnexpectedContinueStmt() string
func UnexpectedFallthroughStmt ¶
func UnexpectedFallthroughStmt() string
Types ¶
type ErrorListener ¶
type ErrorListener struct { *antlr.DefaultErrorListener // contains filtered or unexported fields }
error listener for lexer and parser
func NewErrorListener ¶
func NewErrorListener() *ErrorListener
func (*ErrorListener) SyntaxError ¶
func (el *ErrorListener) SyntaxError(recognizer antlr.Recognizer, offendingSymbol interface{}, line, column int, msg string, e antlr.RecognitionException)
type ExpressionListMultiline ¶
type ExpressionListMultiline interface {
ExpressionListMultiline() yak.IExpressionListMultilineContext
}
type MapPairs ¶
type MapPairs interface {
MapPairs() yak.IMapPairsContext
}
Click to show internal directories.
Click to hide internal directories.