ast

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpectedLinePaddingAfter

func ExpectedLinePaddingAfter(expression Node) (int, int)

func LinePaddingAfter

func LinePaddingAfter(expression Node) int

func LinePaddingBefore

func LinePaddingBefore(expression Node) int

func LinesToInsertBetween

func LinesToInsertBetween(before Expression, now Expression) int

Types

type Alias

type Alias struct {
	// contains filtered or unexported fields
}

func NewAlias

func NewAlias(keywordType token.Keyword, keywordAlias token.Keyword, aliasName *TypeIdentifier,
	referenced Type, comment *MultilineComment) *Alias

func (*Alias) Comment added in v0.0.2

func (i *Alias) Comment() *MultilineComment

func (*Alias) DebugString

func (i *Alias) DebugString() string

func (*Alias) DecoratedName

func (i *Alias) DecoratedName() string

func (*Alias) FetchPositionLength

func (i *Alias) FetchPositionLength() token.SourceFileReference

func (*Alias) Identifier

func (i *Alias) Identifier() *TypeIdentifier

func (*Alias) KeywordAlias

func (i *Alias) KeywordAlias() token.Keyword

func (*Alias) KeywordType

func (i *Alias) KeywordType() token.Keyword

func (*Alias) Name

func (i *Alias) Name() string

func (*Alias) ReferencedType

func (i *Alias) ReferencedType() Type

func (*Alias) String

func (i *Alias) String() string

type AnyMatchingType added in v0.0.2

type AnyMatchingType struct {
	// contains filtered or unexported fields
}

func NewAnyMatchingType added in v0.0.2

func NewAnyMatchingType(operatorToken token.OperatorToken) *AnyMatchingType

func (*AnyMatchingType) AsteriskToken added in v0.0.2

func (i *AnyMatchingType) AsteriskToken() token.OperatorToken

func (*AnyMatchingType) FetchPositionLength added in v0.0.2

func (i *AnyMatchingType) FetchPositionLength() token.SourceFileReference

func (*AnyMatchingType) Name added in v0.0.2

func (i *AnyMatchingType) Name() string

func (*AnyMatchingType) String added in v0.0.2

func (i *AnyMatchingType) String() string

type ArrayLiteral

type ArrayLiteral struct {
	// contains filtered or unexported fields
}

func NewArrayLiteral

func NewArrayLiteral(startListParen token.ParenToken, endListParen token.ParenToken, expressions []Expression) *ArrayLiteral

func (*ArrayLiteral) DebugString

func (i *ArrayLiteral) DebugString() string

func (*ArrayLiteral) EndParenToken

func (i *ArrayLiteral) EndParenToken() token.ParenToken

func (*ArrayLiteral) Expressions

func (i *ArrayLiteral) Expressions() []Expression

func (*ArrayLiteral) FetchPositionLength

func (i *ArrayLiteral) FetchPositionLength() token.SourceFileReference

func (*ArrayLiteral) StartParenToken

func (i *ArrayLiteral) StartParenToken() token.ParenToken

func (*ArrayLiteral) String

func (i *ArrayLiteral) String() string

type BinaryOperator

type BinaryOperator struct {
	// contains filtered or unexported fields
}

func NewBinaryOperator

func NewBinaryOperator(token token.Token, operator token.OperatorToken, left Expression,
	right Expression) *BinaryOperator

func (*BinaryOperator) DebugString

func (i *BinaryOperator) DebugString() string

func (*BinaryOperator) FetchPositionLength

func (i *BinaryOperator) FetchPositionLength() token.SourceFileReference

func (*BinaryOperator) Left

func (i *BinaryOperator) Left() Expression

func (*BinaryOperator) OperatorToken

func (i *BinaryOperator) OperatorToken() token.OperatorToken

func (*BinaryOperator) OperatorType

func (i *BinaryOperator) OperatorType() token.Type

func (*BinaryOperator) Right

func (i *BinaryOperator) Right() Expression

func (*BinaryOperator) String

func (i *BinaryOperator) String() string

func (*BinaryOperator) Token

func (i *BinaryOperator) Token() token.Token

type BooleanLiteral

type BooleanLiteral struct {
	// contains filtered or unexported fields
}

func NewBooleanLiteral

func NewBooleanLiteral(booleanToken token.BooleanToken) *BooleanLiteral

func (*BooleanLiteral) DebugString

func (i *BooleanLiteral) DebugString() string

func (*BooleanLiteral) FetchPositionLength

func (i *BooleanLiteral) FetchPositionLength() token.SourceFileReference

func (*BooleanLiteral) String

func (i *BooleanLiteral) String() string

func (*BooleanLiteral) Token

func (i *BooleanLiteral) Token() token.BooleanToken

func (*BooleanLiteral) Value

func (i *BooleanLiteral) Value() bool

type ByAssignmentName

type ByAssignmentName []*RecordLiteralFieldAssignment

func (ByAssignmentName) Len

func (a ByAssignmentName) Len() int

func (ByAssignmentName) Less

func (a ByAssignmentName) Less(i, j int) bool

func (ByAssignmentName) Swap

func (a ByAssignmentName) Swap(i, j int)

type CaseConsequenceForCustomType added in v0.0.2

type CaseConsequenceForCustomType struct {
	// contains filtered or unexported fields
}

func NewCaseConsequenceForCustomType

func NewCaseConsequenceForCustomType(variantName *TypeIdentifier, arguments []*VariableIdentifier, expression Expression, comment token.Comment) *CaseConsequenceForCustomType

func (*CaseConsequenceForCustomType) Arguments added in v0.0.2

func (*CaseConsequenceForCustomType) Comment added in v0.0.2

func (*CaseConsequenceForCustomType) Expression added in v0.0.2

func (c *CaseConsequenceForCustomType) Expression() Expression

func (*CaseConsequenceForCustomType) Identifier added in v0.0.2

func (*CaseConsequenceForCustomType) String added in v0.0.2

type CaseConsequencePatternMatching

type CaseConsequencePatternMatching struct {
	// contains filtered or unexported fields
}

func NewCaseConsequenceForPatternMatching

func NewCaseConsequenceForPatternMatching(index int, literal Literal, expression Expression, comment token.Comment) *CaseConsequencePatternMatching

func (*CaseConsequencePatternMatching) Comment added in v0.0.2

func (*CaseConsequencePatternMatching) Expression

func (*CaseConsequencePatternMatching) Index

func (*CaseConsequencePatternMatching) Literal

func (*CaseConsequencePatternMatching) String

type CaseForCustomType added in v0.0.2

type CaseForCustomType struct {
	// contains filtered or unexported fields
}

func NewCaseForCustomType

func NewCaseForCustomType(keywordCase token.Keyword, keywordOf token.Keyword, test Expression, cases []*CaseConsequenceForCustomType) *CaseForCustomType

func (*CaseForCustomType) Consequences added in v0.0.2

func (i *CaseForCustomType) Consequences() []*CaseConsequenceForCustomType

func (*CaseForCustomType) DebugString added in v0.0.2

func (i *CaseForCustomType) DebugString() string

func (*CaseForCustomType) FetchPositionLength added in v0.0.2

func (i *CaseForCustomType) FetchPositionLength() token.SourceFileReference

func (*CaseForCustomType) KeywordCase added in v0.0.2

func (i *CaseForCustomType) KeywordCase() token.Keyword

func (*CaseForCustomType) KeywordOf added in v0.0.2

func (i *CaseForCustomType) KeywordOf() token.Keyword

func (*CaseForCustomType) String added in v0.0.2

func (i *CaseForCustomType) String() string

func (*CaseForCustomType) Test added in v0.0.2

func (i *CaseForCustomType) Test() Expression

type CaseForPatternMatching added in v0.0.2

type CaseForPatternMatching struct {
	// contains filtered or unexported fields
}

func NewCaseForPatternMatching

func NewCaseForPatternMatching(keywordCase token.Keyword, keywordOf token.Keyword, test Expression, cases []*CaseConsequencePatternMatching) *CaseForPatternMatching

func (*CaseForPatternMatching) Consequences added in v0.0.2

func (*CaseForPatternMatching) DebugString added in v0.0.2

func (i *CaseForPatternMatching) DebugString() string

func (*CaseForPatternMatching) FetchPositionLength added in v0.0.2

func (i *CaseForPatternMatching) FetchPositionLength() token.SourceFileReference

func (*CaseForPatternMatching) KeywordCase added in v0.0.2

func (i *CaseForPatternMatching) KeywordCase() token.Keyword

func (*CaseForPatternMatching) KeywordOf added in v0.0.2

func (i *CaseForPatternMatching) KeywordOf() token.Keyword

func (*CaseForPatternMatching) String added in v0.0.2

func (i *CaseForPatternMatching) String() string

func (*CaseForPatternMatching) Test added in v0.0.2

type CharacterLiteral

type CharacterLiteral struct {
	Token token.CharacterToken
	// contains filtered or unexported fields
}

func NewCharacterConstant

func NewCharacterConstant(t token.CharacterToken, v rune) *CharacterLiteral

func (*CharacterLiteral) CharacterToken

func (i *CharacterLiteral) CharacterToken() token.CharacterToken

func (*CharacterLiteral) DebugString

func (i *CharacterLiteral) DebugString() string

func (*CharacterLiteral) FetchPositionLength

func (i *CharacterLiteral) FetchPositionLength() token.SourceFileReference

func (*CharacterLiteral) String

func (i *CharacterLiteral) String() string

func (*CharacterLiteral) Value

func (i *CharacterLiteral) Value() rune

type ConstantDefinition added in v0.0.4

type ConstantDefinition struct {
	// contains filtered or unexported fields
}

func NewConstantDefinition added in v0.0.4

func NewConstantDefinition(identifier *VariableIdentifier, expression Expression, comment *MultilineComment) *ConstantDefinition

func (*ConstantDefinition) Comment added in v0.0.4

func (i *ConstantDefinition) Comment() *MultilineComment

func (*ConstantDefinition) DebugString added in v0.0.4

func (i *ConstantDefinition) DebugString() string

func (*ConstantDefinition) Expression added in v0.0.4

func (i *ConstantDefinition) Expression() Expression

func (*ConstantDefinition) FetchPositionLength added in v0.0.4

func (i *ConstantDefinition) FetchPositionLength() token.SourceFileReference

func (*ConstantDefinition) Identifier added in v0.0.4

func (i *ConstantDefinition) Identifier() *VariableIdentifier

func (*ConstantDefinition) String added in v0.0.4

func (i *ConstantDefinition) String() string

type ConstantOrLiteral added in v0.0.4

type ConstantOrLiteral interface {
	Node
	DebugString() string
}

type ConstructorCall

type ConstructorCall struct {
	// contains filtered or unexported fields
}

func NewConstructorCall

func NewConstructorCall(functionValue TypeReferenceScopedOrNormal, arguments []Expression) *ConstructorCall

func (*ConstructorCall) Arguments

func (i *ConstructorCall) Arguments() []Expression

func (*ConstructorCall) DebugString

func (i *ConstructorCall) DebugString() string

func (*ConstructorCall) FetchPositionLength

func (i *ConstructorCall) FetchPositionLength() token.SourceFileReference

func (*ConstructorCall) OverwriteArguments

func (i *ConstructorCall) OverwriteArguments(args []Expression)

func (*ConstructorCall) String

func (i *ConstructorCall) String() string

func (*ConstructorCall) TypeReference

func (i *ConstructorCall) TypeReference() TypeReferenceScopedOrNormal

type CustomType

type CustomType struct {
	// contains filtered or unexported fields
}

func NewCustomType

func NewCustomType(keywordType token.Keyword, customTypeName *TypeIdentifier, variants []*CustomTypeVariant, typeParameterIdentifiers []*TypeParameter, comment *MultilineComment) *CustomType

func (*CustomType) Comment added in v0.0.2

func (i *CustomType) Comment() *MultilineComment

func (*CustomType) DebugString added in v0.0.2

func (i *CustomType) DebugString() string

func (*CustomType) FetchPositionLength

func (i *CustomType) FetchPositionLength() token.SourceFileReference

func (*CustomType) FindAllLocalTypes

func (i *CustomType) FindAllLocalTypes() []*TypeParameter

func (*CustomType) Identifier

func (i *CustomType) Identifier() *TypeIdentifier

func (*CustomType) KeywordType

func (i *CustomType) KeywordType() token.Keyword

func (*CustomType) Name

func (i *CustomType) Name() string

func (*CustomType) String

func (i *CustomType) String() string

func (*CustomType) Variants

func (i *CustomType) Variants() []*CustomTypeVariant

type CustomTypeVariant

type CustomTypeVariant struct {
	// contains filtered or unexported fields
}

func NewCustomTypeVariant

func NewCustomTypeVariant(index int, typeIdentifier *TypeIdentifier, userTypes []Type, comment token.Comment) *CustomTypeVariant

func (*CustomTypeVariant) Comment added in v0.0.2

func (i *CustomTypeVariant) Comment() token.Comment

func (*CustomTypeVariant) FetchPositionLength added in v0.0.2

func (i *CustomTypeVariant) FetchPositionLength() token.SourceFileReference

func (*CustomTypeVariant) Index

func (i *CustomTypeVariant) Index() int

func (*CustomTypeVariant) Name

func (i *CustomTypeVariant) Name() string

func (*CustomTypeVariant) Parent

func (i *CustomTypeVariant) Parent() *CustomType

func (*CustomTypeVariant) SetParent

func (i *CustomTypeVariant) SetParent(parent *CustomType)

func (*CustomTypeVariant) String

func (i *CustomTypeVariant) String() string

func (*CustomTypeVariant) TypeIdentifier

func (i *CustomTypeVariant) TypeIdentifier() *TypeIdentifier

func (*CustomTypeVariant) Types

func (i *CustomTypeVariant) Types() []Type

type Expression

type Expression interface {
	Node
	DebugString() string
}

type ExternalFunctionExpression added in v0.0.4

type ExternalFunctionExpression struct {
	// contains filtered or unexported fields
}

func NewExternalFunctionExpression added in v0.0.4

func NewExternalFunctionExpression(posLen token.SourceFileReference) *ExternalFunctionExpression

func (*ExternalFunctionExpression) DebugString added in v0.0.4

func (d *ExternalFunctionExpression) DebugString() string

func (*ExternalFunctionExpression) FetchPositionLength added in v0.0.4

func (d *ExternalFunctionExpression) FetchPositionLength() token.SourceFileReference

func (*ExternalFunctionExpression) String added in v0.0.4

func (d *ExternalFunctionExpression) String() string

type ExtraTypeParameterError

type ExtraTypeParameterError struct {
	// contains filtered or unexported fields
}

func NewExtraTypeParameterError

func NewExtraTypeParameterError(extraParameter *TypeParameter, searchedType Type) *ExtraTypeParameterError

func (*ExtraTypeParameterError) Error

func (e *ExtraTypeParameterError) Error() string

func (*ExtraTypeParameterError) FetchPositionLength

func (e *ExtraTypeParameterError) FetchPositionLength() token.SourceFileReference

type FixedLiteral

type FixedLiteral struct {
	Token token.NumberToken
	// contains filtered or unexported fields
}

func NewFixedLiteral

func NewFixedLiteral(token token.NumberToken, v int32) *FixedLiteral

func (*FixedLiteral) DebugString

func (i *FixedLiteral) DebugString() string

func (*FixedLiteral) FetchPositionLength

func (i *FixedLiteral) FetchPositionLength() token.SourceFileReference

func (*FixedLiteral) String

func (i *FixedLiteral) String() string

func (*FixedLiteral) Value

func (i *FixedLiteral) Value() int32

type FunctionCall

type FunctionCall struct {
	// contains filtered or unexported fields
}

func NewFunctionCall

func NewFunctionCall(functionExpression Expression, arguments []Expression) *FunctionCall

func (*FunctionCall) AppendArgument

func (i *FunctionCall) AppendArgument(arg Expression)

func (*FunctionCall) Arguments

func (i *FunctionCall) Arguments() []Expression

func (*FunctionCall) DebugString

func (i *FunctionCall) DebugString() string

func (*FunctionCall) FetchPositionLength

func (i *FunctionCall) FetchPositionLength() token.SourceFileReference

func (*FunctionCall) FunctionExpression

func (i *FunctionCall) FunctionExpression() Expression

func (*FunctionCall) OverwriteArguments

func (i *FunctionCall) OverwriteArguments(args []Expression)

func (*FunctionCall) String

func (i *FunctionCall) String() string

type FunctionCaller

type FunctionCaller interface {
	Arguments() []Expression
	OverwriteArguments(args []Expression)
	String() string
	DebugString() string
	FetchPositionLength() token.SourceFileReference
}

type FunctionDeclarationExpression added in v0.0.12

type FunctionDeclarationExpression struct {
	// contains filtered or unexported fields
}

func NewFunctionDeclarationExpression added in v0.0.12

func NewFunctionDeclarationExpression(debugAssignedValue token.VariableSymbolToken, annotationFunctionType token.AnnotationFunctionType) *FunctionDeclarationExpression

func (*FunctionDeclarationExpression) AnnotationFunctionType added in v0.0.12

func (i *FunctionDeclarationExpression) AnnotationFunctionType() token.AnnotationFunctionType

func (*FunctionDeclarationExpression) DebugString added in v0.0.12

func (i *FunctionDeclarationExpression) DebugString() string

func (*FunctionDeclarationExpression) FetchPositionLength added in v0.0.12

func (i *FunctionDeclarationExpression) FetchPositionLength() token.SourceFileReference

func (*FunctionDeclarationExpression) IsExternalVarExFunction added in v0.0.12

func (f *FunctionDeclarationExpression) IsExternalVarExFunction() bool

func (*FunctionDeclarationExpression) IsExternalVarFunction added in v0.0.12

func (f *FunctionDeclarationExpression) IsExternalVarFunction() bool

func (*FunctionDeclarationExpression) IsSomeKindOfExternal added in v0.0.12

func (i *FunctionDeclarationExpression) IsSomeKindOfExternal() bool

func (*FunctionDeclarationExpression) String added in v0.0.12

type FunctionParameter added in v0.0.12

type FunctionParameter struct {
	// contains filtered or unexported fields
}

func NewFunctionParameter added in v0.0.12

func NewFunctionParameter(identifier *VariableIdentifier, parameterType Type) *FunctionParameter

func (*FunctionParameter) DebugString added in v0.0.12

func (i *FunctionParameter) DebugString() string

func (*FunctionParameter) FetchPositionLength added in v0.0.12

func (i *FunctionParameter) FetchPositionLength() token.SourceFileReference

func (*FunctionParameter) Identifier added in v0.0.12

func (i *FunctionParameter) Identifier() *VariableIdentifier

func (*FunctionParameter) IsIgnore added in v0.0.12

func (i *FunctionParameter) IsIgnore() bool

func (*FunctionParameter) Name added in v0.0.12

func (i *FunctionParameter) Name() string

func (*FunctionParameter) String added in v0.0.12

func (i *FunctionParameter) String() string

func (*FunctionParameter) Type added in v0.0.12

func (i *FunctionParameter) Type() Type

type FunctionType

type FunctionType struct {
	// contains filtered or unexported fields
}

func NewFunctionType

func NewFunctionType(functionParameters []Type) *FunctionType

func (*FunctionType) FetchPositionLength

func (i *FunctionType) FetchPositionLength() token.SourceFileReference

func (*FunctionType) FunctionParameters

func (i *FunctionType) FunctionParameters() []Type

func (*FunctionType) Name

func (i *FunctionType) Name() string

func (*FunctionType) String

func (i *FunctionType) String() string

type FunctionValue

type FunctionValue struct {
	// contains filtered or unexported fields
}

func NewFunctionValue

func NewFunctionValue(debugAssignedValue token.VariableSymbolToken, parameters []*FunctionParameter,
	returnType Type, expression Expression, commentBlock *MultilineComment) *FunctionValue

func (*FunctionValue) CommentBlock

func (i *FunctionValue) CommentBlock() *MultilineComment

func (*FunctionValue) DebugFunctionIdentifier

func (i *FunctionValue) DebugFunctionIdentifier() token.VariableSymbolToken

func (*FunctionValue) DebugString

func (i *FunctionValue) DebugString() string

func (*FunctionValue) Expression

func (i *FunctionValue) Expression() Expression

func (*FunctionValue) FetchPositionLength

func (i *FunctionValue) FetchPositionLength() token.SourceFileReference

func (*FunctionValue) Parameters

func (i *FunctionValue) Parameters() []*FunctionParameter

func (*FunctionValue) String

func (i *FunctionValue) String() string

func (*FunctionValue) Type added in v0.0.12

func (i *FunctionValue) Type() Type

type FunctionValueNamedDefinition

type FunctionValueNamedDefinition struct {
	// contains filtered or unexported fields
}

func NewFunctionValueNamedDefinition

func NewFunctionValueNamedDefinition(identifier *VariableIdentifier, functionValue *FunctionValue) *FunctionValueNamedDefinition

func (*FunctionValueNamedDefinition) DebugString

func (i *FunctionValueNamedDefinition) DebugString() string

func (*FunctionValueNamedDefinition) FetchPositionLength

func (i *FunctionValueNamedDefinition) FetchPositionLength() token.SourceFileReference

func (*FunctionValueNamedDefinition) FunctionValue

func (i *FunctionValueNamedDefinition) FunctionValue() *FunctionValue

func (*FunctionValueNamedDefinition) Identifier

func (*FunctionValueNamedDefinition) String

type GuardDefault

type GuardDefault struct {
	GuardItemBasic
}

func (*GuardDefault) String added in v0.0.12

func (i *GuardDefault) String() string

type GuardExpression

type GuardExpression struct {
	// contains filtered or unexported fields
}

func NewGuardExpression

func NewGuardExpression(items []GuardItem, defaultItem *GuardDefault) *GuardExpression

func (*GuardExpression) DebugString

func (i *GuardExpression) DebugString() string

func (*GuardExpression) Default

func (i *GuardExpression) Default() *GuardDefault

func (*GuardExpression) FetchPositionLength

func (i *GuardExpression) FetchPositionLength() token.SourceFileReference

func (*GuardExpression) Items

func (i *GuardExpression) Items() []GuardItem

func (*GuardExpression) String

func (i *GuardExpression) String() string

type GuardItem

type GuardItem struct {
	GuardItemBasic
	Condition Expression
}

func (GuardItem) String added in v0.0.12

func (i GuardItem) String() string

type GuardItemBasic

type GuardItemBasic struct {
	Comment     token.Comment
	Consequence Expression
	GuardToken  token.GuardToken
}

func NewGuardItemBasic added in v0.0.2

func NewGuardItemBasic(comment token.Comment, guardToken token.GuardToken, consequence Expression) GuardItemBasic

func (GuardItemBasic) String added in v0.0.12

func (i GuardItemBasic) String() string

type IfExpression

type IfExpression struct {
	// contains filtered or unexported fields
}

func NewIfExpression

func NewIfExpression(keywordIf token.Keyword, keywordThen token.Keyword, keywordElse token.Keyword, condition Expression, consequence Expression, alternative Expression) *IfExpression

func (*IfExpression) Alternative

func (i *IfExpression) Alternative() Expression

func (*IfExpression) Condition

func (i *IfExpression) Condition() Expression

func (*IfExpression) Consequence

func (i *IfExpression) Consequence() Expression

func (*IfExpression) DebugString

func (i *IfExpression) DebugString() string

func (*IfExpression) FetchPositionLength

func (i *IfExpression) FetchPositionLength() token.SourceFileReference

func (*IfExpression) KeywordElse

func (i *IfExpression) KeywordElse() token.Keyword

func (*IfExpression) KeywordIf

func (i *IfExpression) KeywordIf() token.Keyword

func (*IfExpression) KeywordThen

func (i *IfExpression) KeywordThen() token.Keyword

func (*IfExpression) String

func (i *IfExpression) String() string

type Import

type Import struct {
	// contains filtered or unexported fields
}

func NewImport

func NewImport(keywordImport token.Keyword, keywordAs *token.Keyword, keywordExposing *token.Keyword,
	moduleReference *ModuleReference,
	optionalAlias *TypeIdentifier, typesToExpose []*TypeIdentifier,
	definitionsToExpose []*VariableIdentifier,
	exposeAll bool, precedingComments *MultilineComment) *Import

func (*Import) Alias

func (i *Import) Alias() *TypeIdentifier

func (*Import) DebugString

func (i *Import) DebugString() string

func (*Import) ExposeAll

func (i *Import) ExposeAll() bool

func (*Import) FetchPositionLength

func (i *Import) FetchPositionLength() token.SourceFileReference

func (*Import) KeywordAs

func (i *Import) KeywordAs() *token.Keyword

func (*Import) KeywordExposing

func (i *Import) KeywordExposing() *token.Keyword

func (*Import) KeywordImport

func (i *Import) KeywordImport() token.Keyword

func (*Import) ModuleName

func (i *Import) ModuleName() *ModuleReference

func (*Import) String

func (i *Import) String() string

type IntegerLiteral

type IntegerLiteral struct {
	Token token.NumberToken
	// contains filtered or unexported fields
}

func NewIntegerLiteral

func NewIntegerLiteral(token token.NumberToken, v int32) *IntegerLiteral

func (*IntegerLiteral) DebugString

func (i *IntegerLiteral) DebugString() string

func (*IntegerLiteral) FetchPositionLength

func (i *IntegerLiteral) FetchPositionLength() token.SourceFileReference

func (*IntegerLiteral) String

func (i *IntegerLiteral) String() string

func (*IntegerLiteral) Value

func (i *IntegerLiteral) Value() int32

type Let

type Let struct {
	// contains filtered or unexported fields
}

func NewLet

func NewLet(keyword token.Keyword, inKeyword token.Keyword, assignments []LetAssignment, consequence Expression) *Let

func (*Let) Assignments

func (i *Let) Assignments() []LetAssignment

func (*Let) Consequence

func (i *Let) Consequence() Expression

func (*Let) DebugString

func (i *Let) DebugString() string

func (*Let) FetchPositionLength

func (i *Let) FetchPositionLength() token.SourceFileReference

func (*Let) InKeyword

func (i *Let) InKeyword() token.Keyword

func (*Let) Keyword

func (i *Let) Keyword() token.Keyword

func (*Let) String

func (i *Let) String() string

type LetAssignment

type LetAssignment struct {
	// contains filtered or unexported fields
}

func NewLetAssignment

func NewLetAssignment(wasRecordDestructuring bool, identifiers []*VariableIdentifier, expression Expression, comment *MultilineComment) LetAssignment

func (LetAssignment) CommentBlock

func (l LetAssignment) CommentBlock() *MultilineComment

func (LetAssignment) Expression

func (l LetAssignment) Expression() Expression

func (LetAssignment) FetchPositionLength

func (l LetAssignment) FetchPositionLength() token.SourceFileReference

func (LetAssignment) Identifiers added in v0.0.2

func (l LetAssignment) Identifiers() []*VariableIdentifier

func (LetAssignment) String

func (l LetAssignment) String() string

func (LetAssignment) WasRecordDestructuring added in v0.0.4

func (l LetAssignment) WasRecordDestructuring() bool

type ListLiteral

type ListLiteral struct {
	// contains filtered or unexported fields
}

func NewListLiteral

func NewListLiteral(startListParen token.ParenToken, endListParen token.ParenToken, expressions []Expression) *ListLiteral

func (*ListLiteral) DebugString

func (i *ListLiteral) DebugString() string

func (*ListLiteral) EndParenToken

func (i *ListLiteral) EndParenToken() token.ParenToken

func (*ListLiteral) Expressions

func (i *ListLiteral) Expressions() []Expression

func (*ListLiteral) FetchPositionLength

func (i *ListLiteral) FetchPositionLength() token.SourceFileReference

func (*ListLiteral) StartParenToken

func (i *ListLiteral) StartParenToken() token.ParenToken

func (*ListLiteral) String

func (i *ListLiteral) String() string

type Literal

type Literal = Expression

type LocalComment

type LocalComment struct {
	Singleline *SingleLineComment
	Multiline  *MultilineComment
}

type LocalType

type LocalType struct {
	// contains filtered or unexported fields
}

func NewLocalType

func NewLocalType(typeArgument *TypeParameter) *LocalType

func (*LocalType) FetchPositionLength

func (i *LocalType) FetchPositionLength() token.SourceFileReference

func (*LocalType) Name

func (i *LocalType) Name() string

func (*LocalType) String

func (i *LocalType) String() string

func (*LocalType) TypeParameter

func (i *LocalType) TypeParameter() *TypeParameter

type Lookups

type Lookups struct {
	// contains filtered or unexported fields
}

func NewLookups

func NewLookups(contextIdentifier *VariableIdentifier, identifiers []*VariableIdentifier) *Lookups

func (*Lookups) ContextIdentifier

func (i *Lookups) ContextIdentifier() *VariableIdentifier

func (*Lookups) DebugString

func (i *Lookups) DebugString() string

func (*Lookups) FetchPositionLength

func (i *Lookups) FetchPositionLength() token.SourceFileReference

func (*Lookups) FieldNames

func (i *Lookups) FieldNames() []*VariableIdentifier

func (*Lookups) String

func (i *Lookups) String() string

type ModuleNamePart

type ModuleNamePart struct {
	// contains filtered or unexported fields
}

func NewModuleNamePart

func NewModuleNamePart(part *TypeIdentifier) *ModuleNamePart

func (*ModuleNamePart) FetchPositionLength

func (m *ModuleNamePart) FetchPositionLength() token.SourceFileReference

func (*ModuleNamePart) Name

func (m *ModuleNamePart) Name() string

func (*ModuleNamePart) String

func (m *ModuleNamePart) String() string

func (*ModuleNamePart) TypeIdentifier

func (m *ModuleNamePart) TypeIdentifier() *TypeIdentifier

type ModuleReference

type ModuleReference struct {
	// contains filtered or unexported fields
}

func NewModuleReference

func NewModuleReference(parts []*ModuleNamePart) *ModuleReference

func (*ModuleReference) FetchPositionLength

func (m *ModuleReference) FetchPositionLength() token.SourceFileReference

func (*ModuleReference) First

func (m *ModuleReference) First() *ModuleNamePart

func (*ModuleReference) Last

func (m *ModuleReference) Last() *ModuleNamePart

func (*ModuleReference) ModuleName

func (m *ModuleReference) ModuleName() string

func (*ModuleReference) Parts

func (m *ModuleReference) Parts() []*ModuleNamePart

func (*ModuleReference) Prefix added in v0.0.4

func (m *ModuleReference) Prefix() []*ModuleNamePart

func (*ModuleReference) String

func (m *ModuleReference) String() string

type MultilineComment

type MultilineComment struct {
	// contains filtered or unexported fields
}

func CommentBlockToAst added in v0.0.2

func CommentBlockToAst(comments token.CommentBlock) []*MultilineComment

func NewMultilineComment

func NewMultilineComment(commentToken token.MultiLineCommentToken) *MultilineComment

func (*MultilineComment) DebugString

func (i *MultilineComment) DebugString() string

func (*MultilineComment) FetchPositionLength

func (i *MultilineComment) FetchPositionLength() token.SourceFileReference

func (*MultilineComment) PositionLength

func (i *MultilineComment) PositionLength() token.Range

func (*MultilineComment) String

func (i *MultilineComment) String() string

func (*MultilineComment) Token

func (*MultilineComment) Value

func (i *MultilineComment) Value() string

type Node

type Node interface {
	FetchPositionLength() token.SourceFileReference
	String() string
}

type Record

type Record struct {
	// contains filtered or unexported fields
}

func NewRecordType

func NewRecordType(startParen token.ParenToken, endParen token.ParenToken, fields []*RecordTypeField, typeParameters []*TypeParameter, comment *MultilineComment) *Record

func (*Record) Comment added in v0.0.2

func (i *Record) Comment() *MultilineComment

func (*Record) FetchPositionLength

func (i *Record) FetchPositionLength() token.SourceFileReference

func (*Record) Fields

func (i *Record) Fields() []*RecordTypeField

func (*Record) FindField

func (i *Record) FindField(name string) *RecordTypeField

func (*Record) Name

func (i *Record) Name() string

func (*Record) String

func (i *Record) String() string

func (*Record) TypeParameters

func (i *Record) TypeParameters() []*TypeParameter

type RecordLiteral

type RecordLiteral struct {
	// contains filtered or unexported fields
}

func NewRecordLiteral

func NewRecordLiteral(parenToken token.ParenToken, templateExpression Expression, assignments []*RecordLiteralFieldAssignment) *RecordLiteral

func (*RecordLiteral) DebugString

func (i *RecordLiteral) DebugString() string

func (*RecordLiteral) FetchPositionLength

func (i *RecordLiteral) FetchPositionLength() token.SourceFileReference

func (*RecordLiteral) ParseOrderedAssignments

func (i *RecordLiteral) ParseOrderedAssignments() []*RecordLiteralFieldAssignment

func (*RecordLiteral) SortedAssignments

func (i *RecordLiteral) SortedAssignments() []*RecordLiteralFieldAssignment

func (*RecordLiteral) String

func (i *RecordLiteral) String() string

func (*RecordLiteral) TemplateExpression

func (i *RecordLiteral) TemplateExpression() Expression

type RecordLiteralFieldAssignment

type RecordLiteralFieldAssignment struct {
	// contains filtered or unexported fields
}

func NewRecordLiteralFieldAssignment

func NewRecordLiteralFieldAssignment(identifier *VariableIdentifier, expression Expression) *RecordLiteralFieldAssignment

func (*RecordLiteralFieldAssignment) DebugString

func (i *RecordLiteralFieldAssignment) DebugString() string

func (*RecordLiteralFieldAssignment) Expression

func (i *RecordLiteralFieldAssignment) Expression() Expression

func (*RecordLiteralFieldAssignment) Identifier

func (*RecordLiteralFieldAssignment) String

type RecordTypeField added in v0.0.2

type RecordTypeField struct {
	// contains filtered or unexported fields
}

func NewRecordTypeField

func NewRecordTypeField(index int, variable *VariableIdentifier, userType Type, precedingComments *MultilineComment) *RecordTypeField

func (*RecordTypeField) Comment added in v0.0.2

func (i *RecordTypeField) Comment() *MultilineComment

func (*RecordTypeField) FieldIndex added in v0.0.2

func (i *RecordTypeField) FieldIndex() int

func (*RecordTypeField) Name added in v0.0.2

func (i *RecordTypeField) Name() string

func (*RecordTypeField) String added in v0.0.2

func (i *RecordTypeField) String() string

func (*RecordTypeField) Type added in v0.0.2

func (i *RecordTypeField) Type() Type

func (*RecordTypeField) VariableIdentifier added in v0.0.2

func (i *RecordTypeField) VariableIdentifier() *VariableIdentifier

type ResourceNameLiteral

type ResourceNameLiteral struct {
	Token token.ResourceName
	// contains filtered or unexported fields
}

func NewResourceNameLiteral

func NewResourceNameLiteral(t token.ResourceName, v string) *ResourceNameLiteral

func (*ResourceNameLiteral) DebugString

func (i *ResourceNameLiteral) DebugString() string

func (*ResourceNameLiteral) FetchPositionLength

func (i *ResourceNameLiteral) FetchPositionLength() token.SourceFileReference

func (*ResourceNameLiteral) String

func (i *ResourceNameLiteral) String() string

func (*ResourceNameLiteral) StringToken

func (i *ResourceNameLiteral) StringToken() token.ResourceName

func (*ResourceNameLiteral) Value

func (i *ResourceNameLiteral) Value() string

type ScopedOrNormalVariableIdentifier

type ScopedOrNormalVariableIdentifier interface {
	Symbol() token.VariableSymbolToken
	FetchPositionLength() token.SourceFileReference
	Name() string
}

type SingleLineComment

type SingleLineComment struct {
	// contains filtered or unexported fields
}

func NewSingleLineComment

func NewSingleLineComment(commentToken token.SingleLineCommentToken) *SingleLineComment

func (*SingleLineComment) DebugString

func (i *SingleLineComment) DebugString() string

func (*SingleLineComment) FetchPositionLength

func (i *SingleLineComment) FetchPositionLength() token.SourceFileReference

func (*SingleLineComment) PositionLength

func (i *SingleLineComment) PositionLength() token.Range

func (*SingleLineComment) String

func (i *SingleLineComment) String() string

func (*SingleLineComment) Value

func (i *SingleLineComment) Value() string

type SourceFile

type SourceFile struct {
	// contains filtered or unexported fields
}

func NewSourceFile

func NewSourceFile(expressions []Expression) *SourceFile

func (*SourceFile) DebugString

func (p *SourceFile) DebugString() string

func (*SourceFile) Nodes

func (p *SourceFile) Nodes() []Node

func (*SourceFile) SetNodes

func (p *SourceFile) SetNodes(nodes []Node)

func (*SourceFile) Statements

func (p *SourceFile) Statements() []Expression

func (*SourceFile) String

func (p *SourceFile) String() string

type Statement

type Statement interface {
	Node
}

type StringInterpolation

type StringInterpolation struct {
	// contains filtered or unexported fields
}

func NewStringInterpolation

func NewStringInterpolation(stringToken token.StringToken, expression Expression, referencedExpressions []Expression) *StringInterpolation

func (*StringInterpolation) DebugString

func (i *StringInterpolation) DebugString() string

func (*StringInterpolation) Expression

func (i *StringInterpolation) Expression() Expression

func (*StringInterpolation) FetchPositionLength

func (i *StringInterpolation) FetchPositionLength() token.SourceFileReference

func (*StringInterpolation) ReferencedExpressions added in v0.0.5

func (i *StringInterpolation) ReferencedExpressions() []Expression

func (*StringInterpolation) String

func (i *StringInterpolation) String() string

func (*StringInterpolation) StringLiteral

func (i *StringInterpolation) StringLiteral() token.StringToken

type StringLiteral

type StringLiteral struct {
	Token token.StringToken
}

func NewStringLiteral added in v0.0.5

func NewStringLiteral(t token.StringToken) *StringLiteral

func (*StringLiteral) DebugString

func (i *StringLiteral) DebugString() string

func (*StringLiteral) FetchPositionLength

func (i *StringLiteral) FetchPositionLength() token.SourceFileReference

func (*StringLiteral) String

func (i *StringLiteral) String() string

func (*StringLiteral) StringToken

func (i *StringLiteral) StringToken() token.StringToken

func (*StringLiteral) Value

func (i *StringLiteral) Value() string

type TupleLiteral added in v0.0.2

type TupleLiteral struct {
	// contains filtered or unexported fields
}

func NewTupleLiteral added in v0.0.2

func NewTupleLiteral(startListParen token.ParenToken, endListParen token.ParenToken, expressions []Expression) *TupleLiteral

func (*TupleLiteral) DebugString added in v0.0.2

func (i *TupleLiteral) DebugString() string

func (*TupleLiteral) EndParenToken added in v0.0.2

func (i *TupleLiteral) EndParenToken() token.ParenToken

func (*TupleLiteral) Expressions added in v0.0.2

func (i *TupleLiteral) Expressions() []Expression

func (*TupleLiteral) FetchPositionLength added in v0.0.2

func (i *TupleLiteral) FetchPositionLength() token.SourceFileReference

func (*TupleLiteral) StartParenToken added in v0.0.2

func (i *TupleLiteral) StartParenToken() token.ParenToken

func (*TupleLiteral) String added in v0.0.2

func (i *TupleLiteral) String() string

type TupleType added in v0.0.2

type TupleType struct {
	// contains filtered or unexported fields
}

func NewTupleType added in v0.0.2

func NewTupleType(startParen token.ParenToken, endParen token.ParenToken, types []Type) *TupleType

func (*TupleType) DebugString added in v0.0.2

func (i *TupleType) DebugString() string

func (*TupleType) DecoratedName added in v0.0.2

func (i *TupleType) DecoratedName() string

func (*TupleType) EndParen added in v0.0.2

func (i *TupleType) EndParen() token.ParenToken

func (*TupleType) FetchPositionLength added in v0.0.2

func (i *TupleType) FetchPositionLength() token.SourceFileReference

func (*TupleType) Name added in v0.0.2

func (i *TupleType) Name() string

func (*TupleType) StartParen added in v0.0.2

func (i *TupleType) StartParen() token.ParenToken

func (*TupleType) String added in v0.0.2

func (i *TupleType) String() string

func (*TupleType) Types added in v0.0.2

func (i *TupleType) Types() []Type

type Type

type Type interface {
	Name() string
	String() string
	FetchPositionLength() token.SourceFileReference
}

type TypeId

type TypeId struct {
	// contains filtered or unexported fields
}

func NewTypeId

func NewTypeId(typeIdToken token.TypeId, typeIdentifier TypeIdentifierNormalOrScoped) *TypeId

func (*TypeId) DebugString

func (i *TypeId) DebugString() string

func (*TypeId) FetchPositionLength

func (i *TypeId) FetchPositionLength() token.SourceFileReference

func (*TypeId) Name

func (i *TypeId) Name() string

func (*TypeId) String

func (i *TypeId) String() string

func (*TypeId) TypeIdentifier added in v0.0.2

func (i *TypeId) TypeIdentifier() TypeIdentifierNormalOrScoped

type TypeIdentifier

type TypeIdentifier struct {
	// contains filtered or unexported fields
}

func NewTypeIdentifier

func NewTypeIdentifier(symbolToken token.TypeSymbolToken) *TypeIdentifier

func (*TypeIdentifier) DebugString

func (i *TypeIdentifier) DebugString() string

func (*TypeIdentifier) FetchPositionLength

func (i *TypeIdentifier) FetchPositionLength() token.SourceFileReference

func (*TypeIdentifier) IsDefaultSymbol

func (i *TypeIdentifier) IsDefaultSymbol() bool

func (*TypeIdentifier) Name

func (i *TypeIdentifier) Name() string

func (*TypeIdentifier) String

func (i *TypeIdentifier) String() string

func (*TypeIdentifier) Symbol

func (i *TypeIdentifier) Symbol() token.TypeSymbolToken

type TypeIdentifierNormalOrScoped

type TypeIdentifierNormalOrScoped interface {
	IsDefaultSymbol() bool
	FetchPositionLength() token.SourceFileReference
	Name() string
}

type TypeIdentifierScoped

type TypeIdentifierScoped struct {
	// contains filtered or unexported fields
}

func NewQualifiedTypeIdentifierScoped

func NewQualifiedTypeIdentifierScoped(moduleReference *ModuleReference, identifier *TypeIdentifier) *TypeIdentifierScoped

func (*TypeIdentifierScoped) DebugString

func (i *TypeIdentifierScoped) DebugString() string

func (*TypeIdentifierScoped) FetchPositionLength

func (i *TypeIdentifierScoped) FetchPositionLength() token.SourceFileReference

func (*TypeIdentifierScoped) IsDefaultSymbol

func (i *TypeIdentifierScoped) IsDefaultSymbol() bool

func (*TypeIdentifierScoped) ModuleReference

func (i *TypeIdentifierScoped) ModuleReference() *ModuleReference

func (*TypeIdentifierScoped) Name

func (i *TypeIdentifierScoped) Name() string

func (*TypeIdentifierScoped) String

func (i *TypeIdentifierScoped) String() string

func (*TypeIdentifierScoped) Symbol

func (i *TypeIdentifierScoped) Symbol() *TypeIdentifier

type TypeParameter

type TypeParameter struct {
	// contains filtered or unexported fields
}

func NewTypeParameter

func NewTypeParameter(ident *VariableIdentifier) *TypeParameter

func (*TypeParameter) FetchPositionLength

func (t *TypeParameter) FetchPositionLength() token.SourceFileReference

func (*TypeParameter) Identifier

func (t *TypeParameter) Identifier() *VariableIdentifier

func (*TypeParameter) Name

func (t *TypeParameter) Name() string

func (*TypeParameter) String

func (t *TypeParameter) String() string

type TypeParameterIdentifierContext

type TypeParameterIdentifierContext struct {
	// contains filtered or unexported fields
}

func NewTypeParameterIdentifierContext

func NewTypeParameterIdentifierContext(typeParameterIdentifiers []*TypeParameter) *TypeParameterIdentifierContext

func (*TypeParameterIdentifierContext) AllTypeParameters

func (t *TypeParameterIdentifierContext) AllTypeParameters() []*TypeParameter

func (*TypeParameterIdentifierContext) HasTypeParameter

func (t *TypeParameterIdentifierContext) HasTypeParameter(parameter *TypeParameter) bool

func (*TypeParameterIdentifierContext) String

type TypeReference

type TypeReference struct {
	// contains filtered or unexported fields
}

func NewTypeReference

func NewTypeReference(ident *TypeIdentifier, arguments []Type) *TypeReference

func (*TypeReference) Arguments

func (i *TypeReference) Arguments() []Type

func (*TypeReference) DebugString

func (i *TypeReference) DebugString() string

func (*TypeReference) DecoratedName

func (i *TypeReference) DecoratedName() string

func (*TypeReference) FetchPositionLength

func (i *TypeReference) FetchPositionLength() token.SourceFileReference

func (*TypeReference) Name

func (i *TypeReference) Name() string

func (*TypeReference) SomeTypeIdentifier

func (i *TypeReference) SomeTypeIdentifier() TypeIdentifierNormalOrScoped

func (*TypeReference) String

func (i *TypeReference) String() string

func (*TypeReference) TypeIdentifier

func (i *TypeReference) TypeIdentifier() *TypeIdentifier

type TypeReferenceScoped

type TypeReferenceScoped struct {
	// contains filtered or unexported fields
}

func NewScopedTypeReference

func NewScopedTypeReference(ident *TypeIdentifierScoped, arguments []Type) *TypeReferenceScoped

func (*TypeReferenceScoped) Arguments

func (i *TypeReferenceScoped) Arguments() []Type

func (*TypeReferenceScoped) DebugString

func (i *TypeReferenceScoped) DebugString() string

func (*TypeReferenceScoped) DecoratedName

func (i *TypeReferenceScoped) DecoratedName() string

func (*TypeReferenceScoped) FetchPositionLength

func (i *TypeReferenceScoped) FetchPositionLength() token.SourceFileReference

func (*TypeReferenceScoped) Name

func (i *TypeReferenceScoped) Name() string

func (*TypeReferenceScoped) SomeTypeIdentifier

func (i *TypeReferenceScoped) SomeTypeIdentifier() TypeIdentifierNormalOrScoped

func (*TypeReferenceScoped) String

func (i *TypeReferenceScoped) String() string

func (*TypeReferenceScoped) TypeResolver

func (i *TypeReferenceScoped) TypeResolver() *TypeIdentifierScoped

type TypeReferenceScopedOrNormal

type TypeReferenceScopedOrNormal interface {
	Arguments() []Type
	FetchPositionLength() token.SourceFileReference
	SomeTypeIdentifier() TypeIdentifierNormalOrScoped
}

type UnaryExpression

type UnaryExpression struct {
	// contains filtered or unexported fields
}

func NewUnaryExpression

func NewUnaryExpression(token token.Token, operator token.OperatorToken, left Expression) *UnaryExpression

func (*UnaryExpression) DebugString

func (i *UnaryExpression) DebugString() string

func (*UnaryExpression) FetchPositionLength

func (i *UnaryExpression) FetchPositionLength() token.SourceFileReference

func (*UnaryExpression) Left

func (i *UnaryExpression) Left() Expression

func (*UnaryExpression) OperatorToken

func (i *UnaryExpression) OperatorToken() token.OperatorToken

func (*UnaryExpression) OperatorType

func (i *UnaryExpression) OperatorType() token.Type

func (*UnaryExpression) String

func (i *UnaryExpression) String() string

type UndefinedTypeParameterError

type UndefinedTypeParameterError struct {
	// contains filtered or unexported fields
}

func NewUndefinedTypeParameterError

func NewUndefinedTypeParameterError(extraParameter *TypeParameter,
	context *TypeParameterIdentifierContext) *UndefinedTypeParameterError

func (*UndefinedTypeParameterError) Error

func (*UndefinedTypeParameterError) FetchPositionLength

func (e *UndefinedTypeParameterError) FetchPositionLength() token.SourceFileReference

type UnmanagedType added in v0.0.2

type UnmanagedType struct {
	// contains filtered or unexported fields
}

func NewUnmanagedType added in v0.0.2

func NewUnmanagedType(startParen token.ParenToken, endParen token.ParenToken, nativeLanguageTypeName *TypeIdentifier, keyword *TypeIdentifier, comment *MultilineComment) *UnmanagedType

func (*UnmanagedType) Comment added in v0.0.2

func (i *UnmanagedType) Comment() *MultilineComment

func (*UnmanagedType) FetchPositionLength added in v0.0.2

func (i *UnmanagedType) FetchPositionLength() token.SourceFileReference

func (*UnmanagedType) Keyword added in v0.0.2

func (i *UnmanagedType) Keyword() *TypeIdentifier

func (*UnmanagedType) Name added in v0.0.2

func (i *UnmanagedType) Name() string

func (*UnmanagedType) NativeLanguageTypeName added in v0.0.2

func (i *UnmanagedType) NativeLanguageTypeName() *TypeIdentifier

func (*UnmanagedType) String added in v0.0.2

func (i *UnmanagedType) String() string

type VariableIdentifier

type VariableIdentifier struct {
	// contains filtered or unexported fields
}

func NewVariableIdentifier

func NewVariableIdentifier(symbol token.VariableSymbolToken) *VariableIdentifier

func (*VariableIdentifier) DebugString

func (i *VariableIdentifier) DebugString() string

func (*VariableIdentifier) FetchPositionLength

func (i *VariableIdentifier) FetchPositionLength() token.SourceFileReference

func (*VariableIdentifier) IsIgnore added in v0.0.4

func (i *VariableIdentifier) IsIgnore() bool

func (*VariableIdentifier) Name

func (i *VariableIdentifier) Name() string

func (*VariableIdentifier) String

func (i *VariableIdentifier) String() string

func (*VariableIdentifier) Symbol

type VariableIdentifierScoped

type VariableIdentifierScoped struct {
	// contains filtered or unexported fields
}

func NewQualifiedVariableIdentifierScoped

func NewQualifiedVariableIdentifierScoped(moduleReference *ModuleReference, variable *VariableIdentifier) *VariableIdentifierScoped

func (*VariableIdentifierScoped) AstVariableReference

func (i *VariableIdentifierScoped) AstVariableReference() *VariableIdentifier

func (*VariableIdentifierScoped) DebugString

func (i *VariableIdentifierScoped) DebugString() string

func (*VariableIdentifierScoped) FetchPositionLength

func (i *VariableIdentifierScoped) FetchPositionLength() token.SourceFileReference

func (*VariableIdentifierScoped) ModuleReference

func (i *VariableIdentifierScoped) ModuleReference() *ModuleReference

func (*VariableIdentifierScoped) Name

func (i *VariableIdentifierScoped) Name() string

func (*VariableIdentifierScoped) String

func (i *VariableIdentifierScoped) String() string

func (*VariableIdentifierScoped) Symbol

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL