Documentation
¶
Index ¶
- type CaseConsequenceExpectedVariableOrRightArrow
- type ExpectedBlockSpacing
- type ExpectedCaseConsequenceSymbolError
- type ExpectedContinuationLineOrOneSpace
- type ExpectedDefaultLastError
- type ExpectedElseKeyword
- type ExpectedInKeyword
- type ExpectedIndentationError
- type ExpectedNewLineCount
- type ExpectedOneSpace
- type ExpectedOneSpaceAfterAssign
- type ExpectedOneSpaceAfterBinaryOperator
- type ExpectedOneSpaceAfterComma
- type ExpectedOneSpaceAfterVariableAndBeforeAssign
- type ExpectedOneSpaceOrExtraIndent
- type ExpectedOneSpaceOrExtraIndentArgument
- type ExpectedOneSpaceOrExtraIndentCommaSeparator
- type ExpectedRecordUpdate
- type ExpectedRightArrowError
- type ExpectedSpacingAfterAnnotationOrDefinition
- type ExpectedTwoLinesAfterStatement
- type ExpectedTypeIdentifierError
- type ExpectedTypeOrParenError
- type ExpectedTypeReferenceError
- type ExpectedUniqueLetIdentifier
- type ExpectedVariableAssign
- type ExpectedVariableAssignOrRecordUpdate
- type ExpectedVariableIdentifierError
- type ExtraSpacing
- type ImportMustHaveUppercaseIdentifierError
- type ImportMustHaveUppercasePathError
- type InternalError
- type LeftPartOfPipeMustBeFunctionCallError
- type LetInConsequenceOnSameColumn
- type MissingElseExpression
- type MultiError
- type MustBeSpaceOrContinuation
- type MustHaveAtLeastOneParameterError
- type MustHaveDefaultInConditionsError
- type NotATermError
- type OneSpaceAfterRecordTypeColon
- type ParseAliasError
- type ParseError
- type RightPartOfPipeMustBeFunctionCallError
- type SubError
- type SubParserError
- type TooManyDepths
- type TypeMustBeFollowedByTypeArgumentOrEqualError
- type UnexpectedEndOfFileError
- type UnexpectedImportAlias
- type UnknownKeywordError
- type UnknownPrefixInExpression
- type UnknownStatement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaseConsequenceExpectedVariableOrRightArrow ¶
type CaseConsequenceExpectedVariableOrRightArrow struct {
SubParserError
}
func NewCaseConsequenceExpectedVariableOrRightArrow ¶
func NewCaseConsequenceExpectedVariableOrRightArrow(err ParseError) CaseConsequenceExpectedVariableOrRightArrow
func (CaseConsequenceExpectedVariableOrRightArrow) Error ¶
func (e CaseConsequenceExpectedVariableOrRightArrow) Error() string
type ExpectedBlockSpacing ¶
type ExpectedBlockSpacing struct {
SubError
}
func NewExpectedBlockSpacing ¶
func NewExpectedBlockSpacing(err tokenize.TokenError) ExpectedBlockSpacing
func (ExpectedBlockSpacing) Error ¶
func (e ExpectedBlockSpacing) Error() string
type ExpectedCaseConsequenceSymbolError ¶
type ExpectedCaseConsequenceSymbolError struct {
SubError
}
func NewExpectedCaseConsequenceSymbolError ¶
func NewExpectedCaseConsequenceSymbolError(err tokenize.TokenError) ExpectedCaseConsequenceSymbolError
func (ExpectedCaseConsequenceSymbolError) Error ¶
func (e ExpectedCaseConsequenceSymbolError) Error() string
type ExpectedContinuationLineOrOneSpace ¶
type ExpectedContinuationLineOrOneSpace struct {
// contains filtered or unexported fields
}
func NewExpectedContinuationLineOrOneSpace ¶
func NewExpectedContinuationLineOrOneSpace(posLength token.SourceFileReference) ExpectedContinuationLineOrOneSpace
func (ExpectedContinuationLineOrOneSpace) Error ¶
func (e ExpectedContinuationLineOrOneSpace) Error() string
func (ExpectedContinuationLineOrOneSpace) FetchPositionLength ¶
func (e ExpectedContinuationLineOrOneSpace) FetchPositionLength() token.SourceFileReference
type ExpectedDefaultLastError ¶
type ExpectedDefaultLastError struct {
// contains filtered or unexported fields
}
func NewExpectedDefaultLastError ¶
func NewExpectedDefaultLastError(expression ast.Expression) ExpectedDefaultLastError
func (ExpectedDefaultLastError) Error ¶
func (e ExpectedDefaultLastError) Error() string
func (ExpectedDefaultLastError) FetchPositionLength ¶
func (e ExpectedDefaultLastError) FetchPositionLength() token.SourceFileReference
type ExpectedElseKeyword ¶
type ExpectedElseKeyword struct {
SubError
}
func NewExpectedElseKeyword ¶
func NewExpectedElseKeyword(eatError tokenize.TokenError) ExpectedElseKeyword
func (ExpectedElseKeyword) Error ¶
func (e ExpectedElseKeyword) Error() string
type ExpectedInKeyword ¶ added in v0.0.2
type ExpectedInKeyword struct {
// contains filtered or unexported fields
}
func NewExpectedInKeyword ¶ added in v0.0.2
func NewExpectedInKeyword(sourceReference token.SourceFileReference) ExpectedInKeyword
func (ExpectedInKeyword) Error ¶ added in v0.0.2
func (e ExpectedInKeyword) Error() string
func (ExpectedInKeyword) FetchPositionLength ¶ added in v0.0.2
func (e ExpectedInKeyword) FetchPositionLength() token.SourceFileReference
type ExpectedIndentationError ¶
type ExpectedIndentationError struct {
// contains filtered or unexported fields
}
func NewExpectedIndentationError ¶
func NewExpectedIndentationError(posLength token.SourceFileReference, expectedIndentation int) ExpectedIndentationError
func (ExpectedIndentationError) Error ¶
func (e ExpectedIndentationError) Error() string
func (ExpectedIndentationError) FetchPositionLength ¶
func (e ExpectedIndentationError) FetchPositionLength() token.SourceFileReference
type ExpectedNewLineCount ¶ added in v0.0.2
type ExpectedNewLineCount struct {
// contains filtered or unexported fields
}
func NewExpectedNewLineCount ¶ added in v0.0.2
func NewExpectedNewLineCount(reference token.SourceFileReference, expected int, encountered int) ExpectedNewLineCount
func (ExpectedNewLineCount) Error ¶ added in v0.0.2
func (e ExpectedNewLineCount) Error() string
func (ExpectedNewLineCount) FetchPositionLength ¶ added in v0.0.2
func (e ExpectedNewLineCount) FetchPositionLength() token.SourceFileReference
type ExpectedOneSpace ¶ added in v0.0.2
type ExpectedOneSpace struct {
// contains filtered or unexported fields
}
func NewExpectedOneSpace ¶ added in v0.0.2
func NewExpectedOneSpace(sourceFileReference token.SourceFileReference) ExpectedOneSpace
func (ExpectedOneSpace) Error ¶ added in v0.0.2
func (e ExpectedOneSpace) Error() string
func (ExpectedOneSpace) FetchPositionLength ¶ added in v0.0.2
func (e ExpectedOneSpace) FetchPositionLength() token.SourceFileReference
type ExpectedOneSpaceAfterAssign ¶
type ExpectedOneSpaceAfterAssign struct {
SubError
}
func NewExpectedOneSpaceAfterAssign ¶
func NewExpectedOneSpaceAfterAssign(subError tokenize.TokenError) ExpectedOneSpaceAfterAssign
func (ExpectedOneSpaceAfterAssign) Error ¶
func (e ExpectedOneSpaceAfterAssign) Error() string
type ExpectedOneSpaceAfterBinaryOperator ¶
type ExpectedOneSpaceAfterBinaryOperator struct {
SubError
}
func NewExpectedOneSpaceAfterBinaryOperator ¶
func NewExpectedOneSpaceAfterBinaryOperator(subError tokenize.TokenError) ExpectedOneSpaceAfterBinaryOperator
func (ExpectedOneSpaceAfterBinaryOperator) Error ¶
func (e ExpectedOneSpaceAfterBinaryOperator) Error() string
type ExpectedOneSpaceAfterComma ¶
type ExpectedOneSpaceAfterComma struct {
SubError
}
func NewExpectedOneSpaceAfterComma ¶
func NewExpectedOneSpaceAfterComma(subError tokenize.TokenError) ExpectedOneSpaceAfterComma
func (ExpectedOneSpaceAfterComma) Error ¶
func (e ExpectedOneSpaceAfterComma) Error() string
type ExpectedOneSpaceAfterVariableAndBeforeAssign ¶
type ExpectedOneSpaceAfterVariableAndBeforeAssign struct {
SubError
}
func NewExpectedOneSpaceAfterVariableAndBeforeAssign ¶
func NewExpectedOneSpaceAfterVariableAndBeforeAssign(subError tokenize.TokenError) ExpectedOneSpaceAfterVariableAndBeforeAssign
func (ExpectedOneSpaceAfterVariableAndBeforeAssign) Error ¶
func (e ExpectedOneSpaceAfterVariableAndBeforeAssign) Error() string
type ExpectedOneSpaceOrExtraIndent ¶
type ExpectedOneSpaceOrExtraIndent struct {
SubError
}
func NewExpectedOneSpaceOrExtraIndent ¶
func NewExpectedOneSpaceOrExtraIndent(subError tokenize.TokenError) ExpectedOneSpaceOrExtraIndent
func (ExpectedOneSpaceOrExtraIndent) Error ¶
func (e ExpectedOneSpaceOrExtraIndent) Error() string
type ExpectedOneSpaceOrExtraIndentArgument ¶
type ExpectedOneSpaceOrExtraIndentArgument struct {
SubError
}
func NewExpectedOneSpaceOrExtraIndentArgument ¶
func NewExpectedOneSpaceOrExtraIndentArgument(subError tokenize.TokenError) ExpectedOneSpaceOrExtraIndentArgument
func (ExpectedOneSpaceOrExtraIndentArgument) Error ¶
func (e ExpectedOneSpaceOrExtraIndentArgument) Error() string
type ExpectedOneSpaceOrExtraIndentCommaSeparator ¶
type ExpectedOneSpaceOrExtraIndentCommaSeparator struct {
SubError
}
func NewExpectedOneSpaceOrExtraIndentCommaSeparator ¶
func NewExpectedOneSpaceOrExtraIndentCommaSeparator(subError tokenize.TokenError) ExpectedOneSpaceOrExtraIndentCommaSeparator
func (ExpectedOneSpaceOrExtraIndentCommaSeparator) Error ¶
func (e ExpectedOneSpaceOrExtraIndentCommaSeparator) Error() string
type ExpectedRecordUpdate ¶
type ExpectedRecordUpdate struct {
SubError
}
func NewExpectedRecordUpdate ¶
func NewExpectedRecordUpdate(err tokenize.TokenError) ExpectedRecordUpdate
func (ExpectedRecordUpdate) Error ¶
func (e ExpectedRecordUpdate) Error() string
type ExpectedRightArrowError ¶
type ExpectedRightArrowError struct {
SubError
}
func NewExpectedRightArrowError ¶
func NewExpectedRightArrowError(err tokenize.TokenError) ExpectedRightArrowError
func (ExpectedRightArrowError) Error ¶
func (e ExpectedRightArrowError) Error() string
type ExpectedSpacingAfterAnnotationOrDefinition ¶
type ExpectedSpacingAfterAnnotationOrDefinition struct {
SubError
}
func NewExpectedSpacingAfterAnnotationOrDefinition ¶
func NewExpectedSpacingAfterAnnotationOrDefinition(err tokenize.TokenError) ExpectedSpacingAfterAnnotationOrDefinition
func (ExpectedSpacingAfterAnnotationOrDefinition) Error ¶
func (e ExpectedSpacingAfterAnnotationOrDefinition) Error() string
type ExpectedTwoLinesAfterStatement ¶
type ExpectedTwoLinesAfterStatement struct {
// contains filtered or unexported fields
}
func NewExpectedTwoLinesAfterStatement ¶
func NewExpectedTwoLinesAfterStatement(err ParseError) ExpectedTwoLinesAfterStatement
func (ExpectedTwoLinesAfterStatement) Error ¶
func (e ExpectedTwoLinesAfterStatement) Error() string
func (ExpectedTwoLinesAfterStatement) FetchPositionLength ¶ added in v0.0.2
func (e ExpectedTwoLinesAfterStatement) FetchPositionLength() token.SourceFileReference
type ExpectedTypeIdentifierError ¶
type ExpectedTypeIdentifierError struct {
SubError
}
func NewExpectedTypeIdentifierError ¶
func NewExpectedTypeIdentifierError(subError tokenize.TokenError) ExpectedTypeIdentifierError
func (ExpectedTypeIdentifierError) Error ¶
func (e ExpectedTypeIdentifierError) Error() string
type ExpectedTypeOrParenError ¶
func NewExpectedTypeOrParenError ¶
func NewExpectedTypeOrParenError(t token.Token) ExpectedTypeOrParenError
func (ExpectedTypeOrParenError) Error ¶
func (e ExpectedTypeOrParenError) Error() string
type ExpectedTypeReferenceError ¶
type ExpectedTypeReferenceError struct {
// contains filtered or unexported fields
}
func NewExpectedTypeReferenceError ¶
func NewExpectedTypeReferenceError(posLength token.SourceFileReference) ExpectedTypeReferenceError
func (ExpectedTypeReferenceError) Error ¶
func (e ExpectedTypeReferenceError) Error() string
func (ExpectedTypeReferenceError) FetchPositionLength ¶
func (e ExpectedTypeReferenceError) FetchPositionLength() token.SourceFileReference
type ExpectedUniqueLetIdentifier ¶ added in v0.0.4
type ExpectedUniqueLetIdentifier struct {
// contains filtered or unexported fields
}
func NewExpectedUniqueLetIdentifier ¶ added in v0.0.4
func NewExpectedUniqueLetIdentifier(sourceReference token.SourceFileReference) ExpectedUniqueLetIdentifier
func (ExpectedUniqueLetIdentifier) Error ¶ added in v0.0.4
func (e ExpectedUniqueLetIdentifier) Error() string
func (ExpectedUniqueLetIdentifier) FetchPositionLength ¶ added in v0.0.4
func (e ExpectedUniqueLetIdentifier) FetchPositionLength() token.SourceFileReference
type ExpectedVariableAssign ¶
type ExpectedVariableAssign struct {
SubError
}
func NewExpectedVariableAssign ¶
func NewExpectedVariableAssign(err tokenize.TokenError) ExpectedVariableAssign
func (ExpectedVariableAssign) Error ¶
func (e ExpectedVariableAssign) Error() string
type ExpectedVariableAssignOrRecordUpdate ¶
type ExpectedVariableAssignOrRecordUpdate struct {
SubError
}
func NewExpectedVariableAssignOrRecordUpdate ¶
func NewExpectedVariableAssignOrRecordUpdate(err tokenize.TokenError) ExpectedVariableAssignOrRecordUpdate
func (ExpectedVariableAssignOrRecordUpdate) Error ¶
func (e ExpectedVariableAssignOrRecordUpdate) Error() string
type ExpectedVariableIdentifierError ¶
type ExpectedVariableIdentifierError struct {
SubError
}
func NewExpectedVariableIdentifierError ¶
func NewExpectedVariableIdentifierError(err tokenize.TokenError) ExpectedVariableIdentifierError
func (ExpectedVariableIdentifierError) Error ¶
func (e ExpectedVariableIdentifierError) Error() string
type ExtraSpacing ¶
type ExtraSpacing struct {
// contains filtered or unexported fields
}
func NewExtraSpacing ¶
func NewExtraSpacing(posLength token.SourceFileReference) ExtraSpacing
func (ExtraSpacing) Error ¶
func (e ExtraSpacing) Error() string
func (ExtraSpacing) FetchPositionLength ¶
func (e ExtraSpacing) FetchPositionLength() token.SourceFileReference
type ImportMustHaveUppercaseIdentifierError ¶
type ImportMustHaveUppercaseIdentifierError struct {
// contains filtered or unexported fields
}
func NewImportMustHaveUppercaseIdentifierError ¶
func NewImportMustHaveUppercaseIdentifierError(subError ParseError) ImportMustHaveUppercaseIdentifierError
func (ImportMustHaveUppercaseIdentifierError) Error ¶
func (e ImportMustHaveUppercaseIdentifierError) Error() string
func (ImportMustHaveUppercaseIdentifierError) FetchPositionLength ¶
func (e ImportMustHaveUppercaseIdentifierError) FetchPositionLength() token.SourceFileReference
type ImportMustHaveUppercasePathError ¶
type ImportMustHaveUppercasePathError struct {
// contains filtered or unexported fields
}
func NewImportMustHaveUppercasePathError ¶
func NewImportMustHaveUppercasePathError(subError ParseError) ImportMustHaveUppercasePathError
func (ImportMustHaveUppercasePathError) Error ¶
func (e ImportMustHaveUppercasePathError) Error() string
func (ImportMustHaveUppercasePathError) FetchPositionLength ¶
func (e ImportMustHaveUppercasePathError) FetchPositionLength() token.SourceFileReference
type InternalError ¶
type InternalError struct { token.SourceFileReference // contains filtered or unexported fields }
func NewInternalError ¶
func NewInternalError(t token.SourceFileReference, internalError error) InternalError
func (InternalError) Error ¶
func (e InternalError) Error() string
func (InternalError) FetchPositionLength ¶
func (e InternalError) FetchPositionLength() token.SourceFileReference
type LeftPartOfPipeMustBeFunctionCallError ¶
func NewLeftPartOfPipeMustBeFunctionCallError ¶
func NewLeftPartOfPipeMustBeFunctionCallError(t token.Token) LeftPartOfPipeMustBeFunctionCallError
func (LeftPartOfPipeMustBeFunctionCallError) Error ¶
func (e LeftPartOfPipeMustBeFunctionCallError) Error() string
type LetInConsequenceOnSameColumn ¶
type LetInConsequenceOnSameColumn struct {
SubError
}
func NewLetInConsequenceOnSameColumn ¶
func NewLetInConsequenceOnSameColumn(subError tokenize.TokenError) LetInConsequenceOnSameColumn
func (LetInConsequenceOnSameColumn) Error ¶
func (e LetInConsequenceOnSameColumn) Error() string
type MissingElseExpression ¶
type MissingElseExpression struct {
// contains filtered or unexported fields
}
func NewMissingElseExpression ¶
func NewMissingElseExpression(other ParseError) MissingElseExpression
func (MissingElseExpression) Error ¶
func (e MissingElseExpression) Error() string
func (MissingElseExpression) FetchPositionLength ¶
func (e MissingElseExpression) FetchPositionLength() token.SourceFileReference
type MultiError ¶ added in v0.0.5
type MultiError struct {
// contains filtered or unexported fields
}
func NewMultiError ¶ added in v0.0.5
func NewMultiError(errors []ParseError) MultiError
func (MultiError) Error ¶ added in v0.0.5
func (m MultiError) Error() string
func (MultiError) Errors ¶ added in v0.0.5
func (m MultiError) Errors() []ParseError
func (MultiError) FetchPositionLength ¶ added in v0.0.5
func (m MultiError) FetchPositionLength() token.SourceFileReference
type MustBeSpaceOrContinuation ¶ added in v0.0.2
type MustBeSpaceOrContinuation struct {
token.SourceFileReference
}
func NewMustBeSpaceOrContinuation ¶ added in v0.0.2
func NewMustBeSpaceOrContinuation(t token.SourceFileReference) MustBeSpaceOrContinuation
func (MustBeSpaceOrContinuation) Error ¶ added in v0.0.2
func (e MustBeSpaceOrContinuation) Error() string
func (MustBeSpaceOrContinuation) FetchPositionLength ¶ added in v0.0.2
func (e MustBeSpaceOrContinuation) FetchPositionLength() token.SourceFileReference
type MustHaveAtLeastOneParameterError ¶
type MustHaveAtLeastOneParameterError struct {
// contains filtered or unexported fields
}
func NewMustHaveAtLeastOneParameterError ¶
func NewMustHaveAtLeastOneParameterError(posLength token.SourceFileReference) MustHaveAtLeastOneParameterError
func (MustHaveAtLeastOneParameterError) Error ¶
func (e MustHaveAtLeastOneParameterError) Error() string
func (MustHaveAtLeastOneParameterError) FetchPositionLength ¶
func (e MustHaveAtLeastOneParameterError) FetchPositionLength() token.SourceFileReference
type MustHaveDefaultInConditionsError ¶
type MustHaveDefaultInConditionsError struct {
// contains filtered or unexported fields
}
func NewMustHaveDefaultInConditionsError ¶
func NewMustHaveDefaultInConditionsError(expression ast.Expression) MustHaveDefaultInConditionsError
func (MustHaveDefaultInConditionsError) Error ¶
func (e MustHaveDefaultInConditionsError) Error() string
func (MustHaveDefaultInConditionsError) FetchPositionLength ¶
func (e MustHaveDefaultInConditionsError) FetchPositionLength() token.SourceFileReference
type NotATermError ¶
func NewNotATermError ¶
func NewNotATermError(t token.Token) NotATermError
func (NotATermError) Error ¶
func (e NotATermError) Error() string
type OneSpaceAfterRecordTypeColon ¶
type OneSpaceAfterRecordTypeColon struct {
SubError
}
func NewOneSpaceAfterRecordTypeColon ¶
func NewOneSpaceAfterRecordTypeColon(subError tokenize.TokenError) OneSpaceAfterRecordTypeColon
func (OneSpaceAfterRecordTypeColon) Error ¶
func (e OneSpaceAfterRecordTypeColon) Error() string
type ParseAliasError ¶
type ParseAliasError struct {
SubParserError
}
func NewParseAliasError ¶
func NewParseAliasError(subError ParseError) ParseAliasError
func (ParseAliasError) Error ¶
func (e ParseAliasError) Error() string
type ParseError ¶
type ParseError interface { FetchPositionLength() token.SourceFileReference Error() string }
func AppendError ¶ added in v0.0.9
func AppendError(existing ParseError, add ParseError) ParseError
type RightPartOfPipeMustBeFunctionCallError ¶
func NewRightPartOfPipeMustBeFunctionCallError ¶
func NewRightPartOfPipeMustBeFunctionCallError(t token.Token) RightPartOfPipeMustBeFunctionCallError
func (RightPartOfPipeMustBeFunctionCallError) Error ¶
func (e RightPartOfPipeMustBeFunctionCallError) Error() string
type SubError ¶
type SubError struct {
SubErr tokenize.TokenError
}
func NewSubError ¶
func NewSubError(err tokenize.TokenError) SubError
func (SubError) FetchPositionLength ¶
func (e SubError) FetchPositionLength() token.SourceFileReference
type SubParserError ¶
type SubParserError struct {
SubErr ParseError
}
func NewSubParserError ¶
func NewSubParserError(err ParseError) SubParserError
func (SubParserError) FetchPositionLength ¶
func (e SubParserError) FetchPositionLength() token.SourceFileReference
func (SubParserError) Unwrap ¶
func (e SubParserError) Unwrap() ParseError
type TooManyDepths ¶ added in v0.0.9
type TooManyDepths struct {
// contains filtered or unexported fields
}
func NewTooManyDepths ¶ added in v0.0.9
func NewTooManyDepths(reference token.SourceFileReference, expected int, encountered int) TooManyDepths
func (TooManyDepths) Error ¶ added in v0.0.9
func (e TooManyDepths) Error() string
func (TooManyDepths) FetchPositionLength ¶ added in v0.0.9
func (e TooManyDepths) FetchPositionLength() token.SourceFileReference
type TypeMustBeFollowedByTypeArgumentOrEqualError ¶
type TypeMustBeFollowedByTypeArgumentOrEqualError struct {
// contains filtered or unexported fields
}
func NewTypeMustBeFollowedByTypeArgumentOrEqualError ¶
func NewTypeMustBeFollowedByTypeArgumentOrEqualError(subError ParseError) TypeMustBeFollowedByTypeArgumentOrEqualError
func (TypeMustBeFollowedByTypeArgumentOrEqualError) Error ¶
func (e TypeMustBeFollowedByTypeArgumentOrEqualError) Error() string
func (TypeMustBeFollowedByTypeArgumentOrEqualError) FetchPositionLength ¶
func (e TypeMustBeFollowedByTypeArgumentOrEqualError) FetchPositionLength() token.SourceFileReference
type UnexpectedEndOfFileError ¶
func NewUnexpectedEndOfFileError ¶
func NewUnexpectedEndOfFileError(t token.Token) UnexpectedEndOfFileError
func (UnexpectedEndOfFileError) Error ¶
func (e UnexpectedEndOfFileError) Error() string
type UnexpectedImportAlias ¶ added in v0.0.2
type UnexpectedImportAlias struct {
// contains filtered or unexported fields
}
func NewUnexpectedImportAlias ¶ added in v0.0.2
func NewUnexpectedImportAlias(importStatement *ast.Import) UnexpectedImportAlias
func (UnexpectedImportAlias) Error ¶ added in v0.0.2
func (e UnexpectedImportAlias) Error() string
func (UnexpectedImportAlias) FetchPositionLength ¶ added in v0.0.2
func (e UnexpectedImportAlias) FetchPositionLength() token.SourceFileReference
type UnknownKeywordError ¶ added in v0.0.4
type UnknownKeywordError struct {
// contains filtered or unexported fields
}
func NewUnknownKeywordError ¶ added in v0.0.4
func NewUnknownKeywordError(pos token.SourceFileReference, subError error) UnknownKeywordError
func (UnknownKeywordError) Error ¶ added in v0.0.4
func (e UnknownKeywordError) Error() string
func (UnknownKeywordError) FetchPositionLength ¶ added in v0.0.4
func (e UnknownKeywordError) FetchPositionLength() token.SourceFileReference
type UnknownPrefixInExpression ¶
func NewUnknownPrefixInExpression ¶
func NewUnknownPrefixInExpression(t token.Token) UnknownPrefixInExpression
func (UnknownPrefixInExpression) Error ¶
func (e UnknownPrefixInExpression) Error() string
type UnknownStatement ¶
func NewUnknownStatement ¶
func NewUnknownStatement(t token.Token) UnknownStatement
func (UnknownStatement) Error ¶
func (e UnknownStatement) Error() string
Click to show internal directories.
Click to hide internal directories.