parsed

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	Left  Associativity = -1
	None                = 0
	Right               = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Access

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

func (*Access) Iterate

func (e *Access) Iterate(f func(statement Statement))

func (Access) Location

func (e Access) Location() ast.Location

func (*Access) SemanticTokens

func (e *Access) SemanticTokens() []ast.SemanticToken

func (Access) Successor

func (e Access) Successor() normalized.Statement

type Accessor

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

func (*Accessor) Iterate

func (e *Accessor) Iterate(f func(statement Statement))

func (Accessor) Location

func (e Accessor) Location() ast.Location

func (*Accessor) SemanticTokens

func (e *Accessor) SemanticTokens() []ast.SemanticToken

func (Accessor) Successor

func (e Accessor) Successor() normalized.Statement

type Alias

type Alias interface {
	Statement
	Name() ast.Identifier

	Hidden() bool
	// contains filtered or unexported methods
}

func NewAlias

func NewAlias(loc ast.Location, hidden bool, name ast.Identifier, params []ast.Identifier, type_ Type, nameLocation ast.Location) Alias

type Apply

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

func (*Apply) Iterate

func (e *Apply) Iterate(f func(statement Statement))

func (Apply) Location

func (e Apply) Location() ast.Location

func (*Apply) SemanticTokens

func (e *Apply) SemanticTokens() []ast.SemanticToken

func (Apply) Successor

func (e Apply) Successor() normalized.Statement

type Associativity

type Associativity int

type BinOp

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

func (*BinOp) InParentheses

func (e *BinOp) InParentheses() bool

func (*BinOp) Items

func (e *BinOp) Items() []*BinOpItem

func (*BinOp) Iterate

func (e *BinOp) Iterate(f func(statement Statement))

func (BinOp) Location

func (e BinOp) Location() ast.Location

func (*BinOp) SemanticTokens

func (e *BinOp) SemanticTokens() []ast.SemanticToken

func (*BinOp) SetInParentheses

func (e *BinOp) SetInParentheses(inParentheses bool)

func (BinOp) Successor

func (e BinOp) Successor() normalized.Statement

type BinOpItem

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

func NewBinOpFunc

func NewBinOpFunc(infix ast.InfixIdentifier) *BinOpItem

func NewBinOpOperand

func NewBinOpOperand(expression Expression) *BinOpItem

type Call

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

func (*Call) Iterate

func (e *Call) Iterate(f func(statement Statement))

func (Call) Location

func (e Call) Location() ast.Location

func (*Call) SemanticTokens

func (e *Call) SemanticTokens() []ast.SemanticToken

func (Call) Successor

func (e Call) Successor() normalized.Statement

type Const

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

func (*Const) Iterate

func (e *Const) Iterate(f func(statement Statement))

func (Const) Location

func (e Const) Location() ast.Location

func (*Const) SemanticTokens

func (e *Const) SemanticTokens() []ast.SemanticToken

func (Const) Successor

func (e Const) Successor() normalized.Statement

type Constructor

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

func (*Constructor) Iterate

func (e *Constructor) Iterate(f func(statement Statement))

func (Constructor) Location

func (e Constructor) Location() ast.Location

func (*Constructor) SemanticTokens

func (e *Constructor) SemanticTokens() []ast.SemanticToken

func (Constructor) Successor

func (e Constructor) Successor() normalized.Statement

type DataOption

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

func NewDataOption

func NewDataOption(name ast.Identifier, hidden bool, values []Type, nameLocation ast.Location) *DataOption

type DataType

type DataType interface {
	Statement

	Name() ast.Identifier
	Options() []DataTypeOption
	Hidden() bool
	// contains filtered or unexported methods
}

func NewDataType

func NewDataType(
	loc ast.Location, hidden bool, name ast.Identifier, params []ast.Identifier, options []DataTypeOption,
	nameLocation ast.Location,
) DataType

type DataTypeOption

type DataTypeOption interface {
	Statement

	Name() ast.Identifier
	Hidden() bool
	// contains filtered or unexported methods
}

func NewDataTypeOption

func NewDataTypeOption(loc ast.Location, hidden bool, name ast.Identifier, values []*DataTypeValue, nameLocation ast.Location) DataTypeOption

type DataTypeValue

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

func NewDataTypeValue

func NewDataTypeValue(loc ast.Location, name ast.Identifier, type_ Type) *DataTypeValue

type Definition

type Definition interface {
	Statement

	Name() ast.Identifier
	Hidden() bool
	Body() Expression
	Params() []Pattern
	// contains filtered or unexported methods
}

func NewDefinition

func NewDefinition(
	location ast.Location,
	hidden bool,
	name ast.Identifier,
	nameLocation ast.Location,
	params []Pattern,
	body Expression,
	declaredType Type,
) Definition

type Expression

type Expression interface {
	Statement
	// contains filtered or unexported methods
}

func NewAccess

func NewAccess(location ast.Location, record Expression, fieldName ast.Identifier, fieldNameLocation ast.Location) Expression

func NewAccessor

func NewAccessor(location ast.Location, fieldName ast.Identifier) Expression

func NewApply

func NewApply(location ast.Location, function Expression, args []Expression) Expression

func NewBinOp

func NewBinOp(location ast.Location, items []*BinOpItem, inParentheses bool) Expression

func NewCall

func NewCall(location ast.Location, name ast.FullIdentifier, args []Expression) Expression

func NewConst

func NewConst(location ast.Location, value ast.ConstValue) Expression

func NewConstructor

func NewConstructor(
	location ast.Location,
	moduleName ast.QualifiedIdentifier,
	dataName ast.Identifier,
	optionName ast.Identifier,
	nameLocation ast.Location,
	args []Expression,
) Expression

func NewFunction

func NewFunction(
	location ast.Location, name ast.Identifier, nameLocation ast.Location,
	params []Pattern, body Expression, declaredType Type, nested Expression,
) Expression

func NewIf

func NewIf(location ast.Location, condition, positive, negative Expression) Expression

func NewInfixVar

func NewInfixVar(location ast.Location, infix ast.InfixIdentifier) Expression

func NewLambda

func NewLambda(location ast.Location, params []Pattern, returnType Type, body Expression) Expression

func NewLet

func NewLet(location ast.Location, pattern Pattern, value, nested Expression) Expression

func NewList

func NewList(location ast.Location, items []Expression) Expression

func NewNegate

func NewNegate(location ast.Location, nested Expression) Expression

func NewRecord

func NewRecord(location ast.Location, fields []*RecordField) Expression

func NewSelect

func NewSelect(location ast.Location, condition Expression, cases []*SelectCase) Expression

func NewTuple

func NewTuple(location ast.Location, items []Expression) Expression

func NewUpdate

func NewUpdate(location ast.Location, recordName ast.QualifiedIdentifier, fields []*RecordField) Expression

func NewVar

func NewVar(location ast.Location, name ast.QualifiedIdentifier) Expression

type Function

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

func (*Function) Iterate

func (e *Function) Iterate(f func(statement Statement))

func (Function) Location

func (e Function) Location() ast.Location

func (*Function) SemanticTokens

func (e *Function) SemanticTokens() []ast.SemanticToken

func (*Function) SetSuccessor

func (e *Function) SetSuccessor(s normalized.Expression)

func (Function) Successor

func (e Function) Successor() normalized.Statement

type If

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

func (*If) Iterate

func (e *If) Iterate(f func(statement Statement))

func (If) Location

func (e If) Location() ast.Location

func (*If) SemanticTokens

func (e *If) SemanticTokens() []ast.SemanticToken

func (If) Successor

func (e If) Successor() normalized.Statement

type Import

type Import interface {
	Module() ast.QualifiedIdentifier

	Alias() *ast.Identifier
	// contains filtered or unexported methods
}

func NewImport

func NewImport(
	loc ast.Location, module ast.QualifiedIdentifier, alias *ast.Identifier, exposingAll bool, exposing []string,
) Import

type Infix

type Infix interface {
	Name() ast.InfixIdentifier
	Location() ast.Location
	// contains filtered or unexported methods
}

func NewInfix

func NewInfix(
	loc ast.Location, hidden bool, name ast.InfixIdentifier, associativity Associativity,
	precedence int, aliasLoc ast.Location, alias ast.Identifier,
) Infix

type InfixVar

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

func (*InfixVar) Iterate

func (e *InfixVar) Iterate(f func(statement Statement))

func (InfixVar) Location

func (e InfixVar) Location() ast.Location

func (*InfixVar) SemanticTokens

func (e *InfixVar) SemanticTokens() []ast.SemanticToken

func (InfixVar) Successor

func (e InfixVar) Successor() normalized.Statement

type Lambda

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

func (*Lambda) Iterate

func (e *Lambda) Iterate(f func(statement Statement))

func (Lambda) Location

func (e Lambda) Location() ast.Location

func (*Lambda) SemanticTokens

func (e *Lambda) SemanticTokens() []ast.SemanticToken

func (Lambda) Successor

func (e Lambda) Successor() normalized.Statement

type Let

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

func (*Let) Iterate

func (e *Let) Iterate(f func(statement Statement))

func (Let) Location

func (e Let) Location() ast.Location

func (*Let) SemanticTokens

func (e *Let) SemanticTokens() []ast.SemanticToken

func (Let) Successor

func (e Let) Successor() normalized.Statement

type List

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

func (*List) Iterate

func (e *List) Iterate(f func(statement Statement))

func (List) Location

func (e List) Location() ast.Location

func (*List) SemanticTokens

func (e *List) SemanticTokens() []ast.SemanticToken

func (List) Successor

func (e List) Successor() normalized.Statement

type Module

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

func NewModule

func NewModule(
	name ast.QualifiedIdentifier, loc ast.Location,
	imports []Import, aliases []Alias, infixFns []Infix, definitions []Definition, dataTypes []DataType,
) *Module

func (*Module) Aliases

func (module *Module) Aliases() []Alias

func (*Module) DataTypes

func (module *Module) DataTypes() []DataType

func (*Module) Definitions

func (module *Module) Definitions() []Definition

func (*Module) Generate

func (module *Module) Generate(modules map[ast.QualifiedIdentifier]*Module) (errors []error)

func (*Module) Imports

func (module *Module) Imports() []Import

func (*Module) InfixFns

func (module *Module) InfixFns() []Infix

func (*Module) Iterate

func (module *Module) Iterate(f func(statement Statement))

func (*Module) Location

func (module *Module) Location() ast.Location

func (*Module) Name

func (module *Module) Name() ast.QualifiedIdentifier

func (*Module) Normalize

func (module *Module) Normalize(
	modules map[ast.QualifiedIdentifier]*Module,
	normalizedModules map[ast.QualifiedIdentifier]*normalized.Module,
) (errors []error)

func (*Module) PackageName

func (module *Module) PackageName() ast.PackageIdentifier

func (*Module) SetPackageName

func (module *Module) SetPackageName(packageName ast.PackageIdentifier)

func (*Module) SetReferencedPackages

func (module *Module) SetReferencedPackages(referencedPackages map[ast.PackageIdentifier]struct{})

type Negate

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

func (*Negate) Iterate

func (e *Negate) Iterate(f func(statement Statement))

func (Negate) Location

func (e Negate) Location() ast.Location

func (*Negate) SemanticTokens

func (e *Negate) SemanticTokens() []ast.SemanticToken

func (Negate) Successor

func (e Negate) Successor() normalized.Statement

type PAlias

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

func (*PAlias) Alias

func (e *PAlias) Alias() ast.Identifier

func (*PAlias) Iterate

func (e *PAlias) Iterate(f func(statement Statement))

func (PAlias) Location

func (p PAlias) Location() ast.Location

func (*PAlias) SemanticTokens

func (e *PAlias) SemanticTokens() []ast.SemanticToken

func (PAlias) SetDeclaredType

func (p PAlias) SetDeclaredType(t Type)

func (PAlias) Successor

func (p PAlias) Successor() normalized.Statement

func (PAlias) Type

func (p PAlias) Type() Type

type PAny

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

func (*PAny) Iterate

func (e *PAny) Iterate(f func(statement Statement))

func (PAny) Location

func (p PAny) Location() ast.Location

func (*PAny) SemanticTokens

func (e *PAny) SemanticTokens() []ast.SemanticToken

func (PAny) SetDeclaredType

func (p PAny) SetDeclaredType(t Type)

func (PAny) Successor

func (p PAny) Successor() normalized.Statement

func (PAny) Type

func (p PAny) Type() Type

type PCons

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

func (*PCons) Iterate

func (e *PCons) Iterate(f func(statement Statement))

func (PCons) Location

func (p PCons) Location() ast.Location

func (*PCons) SemanticTokens

func (e *PCons) SemanticTokens() []ast.SemanticToken

func (PCons) SetDeclaredType

func (p PCons) SetDeclaredType(t Type)

func (PCons) Successor

func (p PCons) Successor() normalized.Statement

func (PCons) Type

func (p PCons) Type() Type

type PConst

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

func (*PConst) Iterate

func (e *PConst) Iterate(f func(statement Statement))

func (PConst) Location

func (p PConst) Location() ast.Location

func (*PConst) SemanticTokens

func (e *PConst) SemanticTokens() []ast.SemanticToken

func (PConst) SetDeclaredType

func (p PConst) SetDeclaredType(t Type)

func (PConst) Successor

func (p PConst) Successor() normalized.Statement

func (PConst) Type

func (p PConst) Type() Type

type PList

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

func (*PList) Iterate

func (e *PList) Iterate(f func(statement Statement))

func (PList) Location

func (p PList) Location() ast.Location

func (*PList) SemanticTokens

func (e *PList) SemanticTokens() []ast.SemanticToken

func (PList) SetDeclaredType

func (p PList) SetDeclaredType(t Type)

func (PList) Successor

func (p PList) Successor() normalized.Statement

func (PList) Type

func (p PList) Type() Type

type PNamed

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

func (*PNamed) Iterate

func (e *PNamed) Iterate(f func(statement Statement))

func (PNamed) Location

func (p PNamed) Location() ast.Location

func (*PNamed) Name

func (e *PNamed) Name() ast.Identifier

func (*PNamed) SemanticTokens

func (e *PNamed) SemanticTokens() []ast.SemanticToken

func (PNamed) SetDeclaredType

func (p PNamed) SetDeclaredType(t Type)

func (PNamed) Successor

func (p PNamed) Successor() normalized.Statement

func (PNamed) Type

func (p PNamed) Type() Type

type POption

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

func (*POption) Iterate

func (e *POption) Iterate(f func(statement Statement))

func (POption) Location

func (p POption) Location() ast.Location

func (*POption) SemanticTokens

func (e *POption) SemanticTokens() []ast.SemanticToken

func (POption) SetDeclaredType

func (p POption) SetDeclaredType(t Type)

func (POption) Successor

func (p POption) Successor() normalized.Statement

func (POption) Type

func (p POption) Type() Type

type PRecord

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

func (*PRecord) Iterate

func (e *PRecord) Iterate(f func(statement Statement))

func (PRecord) Location

func (p PRecord) Location() ast.Location

func (*PRecord) SemanticTokens

func (e *PRecord) SemanticTokens() []ast.SemanticToken

func (PRecord) SetDeclaredType

func (p PRecord) SetDeclaredType(t Type)

func (PRecord) Successor

func (p PRecord) Successor() normalized.Statement

func (PRecord) Type

func (p PRecord) Type() Type

type PRecordField

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

func NewPRecordField

func NewPRecordField(loc ast.Location, name ast.Identifier) *PRecordField

type PTuple

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

func (*PTuple) Iterate

func (e *PTuple) Iterate(f func(statement Statement))

func (PTuple) Location

func (p PTuple) Location() ast.Location

func (*PTuple) SemanticTokens

func (e *PTuple) SemanticTokens() []ast.SemanticToken

func (PTuple) SetDeclaredType

func (p PTuple) SetDeclaredType(t Type)

func (PTuple) Successor

func (p PTuple) Successor() normalized.Statement

func (PTuple) Type

func (p PTuple) Type() Type

type Pattern

type Pattern interface {
	Statement

	Type() Type
	SetDeclaredType(decl Type)
	// contains filtered or unexported methods
}

func NewPAlias

func NewPAlias(loc ast.Location, alias ast.Identifier, nested Pattern) Pattern

func NewPAny

func NewPAny(loc ast.Location) Pattern

func NewPCons

func NewPCons(loc ast.Location, head, tail Pattern) Pattern

func NewPConst

func NewPConst(loc ast.Location, value ast.ConstValue) Pattern

func NewPList

func NewPList(loc ast.Location, items []Pattern) Pattern

func NewPNamed

func NewPNamed(loc ast.Location, name ast.Identifier, nameLocation ast.Location) Pattern

func NewPOption

func NewPOption(loc ast.Location, name ast.QualifiedIdentifier, values []Pattern, nameLocation ast.Location) Pattern

func NewPRecord

func NewPRecord(loc ast.Location, fields []*PRecordField) Pattern

func NewPTuple

func NewPTuple(loc ast.Location, items []Pattern) Pattern

type Record

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

func (*Record) Iterate

func (e *Record) Iterate(f func(statement Statement))

func (Record) Location

func (e Record) Location() ast.Location

func (*Record) SemanticTokens

func (e *Record) SemanticTokens() []ast.SemanticToken

func (Record) Successor

func (e Record) Successor() normalized.Statement

type RecordField

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

func NewRecordField

func NewRecordField(location ast.Location, name ast.Identifier, value Expression) *RecordField

type Select

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

func (*Select) Iterate

func (e *Select) Iterate(f func(statement Statement))

func (Select) Location

func (e Select) Location() ast.Location

func (*Select) SemanticTokens

func (e *Select) SemanticTokens() []ast.SemanticToken

func (Select) Successor

func (e Select) Successor() normalized.Statement

type SelectCase

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

func NewSelectCase

func NewSelectCase(location ast.Location, pattern Pattern, body Expression) *SelectCase

type Statement

type Statement interface {
	Location() ast.Location
	Iterate(f func(statement Statement))
	Successor() normalized.Statement

	SemanticTokens() []ast.SemanticToken
	// contains filtered or unexported methods
}

type TData

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

func (*TData) Iterate

func (t *TData) Iterate(f func(statement Statement))

func (TData) Location

func (t TData) Location() ast.Location

func (*TData) SemanticTokens

func (t *TData) SemanticTokens() []ast.SemanticToken

func (TData) Successor

func (t TData) Successor() normalized.Statement

type TFunc

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

func (*TFunc) Iterate

func (t *TFunc) Iterate(f func(statement Statement))

func (TFunc) Location

func (t TFunc) Location() ast.Location

func (*TFunc) SemanticTokens

func (t *TFunc) SemanticTokens() []ast.SemanticToken

func (TFunc) Successor

func (t TFunc) Successor() normalized.Statement

type TNamed

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

func (*TNamed) Find

func (t *TNamed) Find(
	modules map[ast.QualifiedIdentifier]*Module, module *Module,
) (Type, *Module, []ast.FullIdentifier, error)

func (*TNamed) Iterate

func (t *TNamed) Iterate(f func(statement Statement))

func (TNamed) Location

func (t TNamed) Location() ast.Location

func (*TNamed) SemanticTokens

func (t *TNamed) SemanticTokens() []ast.SemanticToken

func (TNamed) Successor

func (t TNamed) Successor() normalized.Statement

type TNative

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

func (*TNative) Iterate

func (t *TNative) Iterate(f func(statement Statement))

func (TNative) Location

func (t TNative) Location() ast.Location

func (*TNative) SemanticTokens

func (t *TNative) SemanticTokens() []ast.SemanticToken

func (TNative) Successor

func (t TNative) Successor() normalized.Statement

type TParameter

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

func (*TParameter) Iterate

func (t *TParameter) Iterate(f func(statement Statement))

func (TParameter) Location

func (t TParameter) Location() ast.Location

func (*TParameter) SemanticTokens

func (t *TParameter) SemanticTokens() []ast.SemanticToken

func (TParameter) Successor

func (t TParameter) Successor() normalized.Statement

type TRecord

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

func (*TRecord) Fields

func (t *TRecord) Fields() map[ast.Identifier]Type

func (*TRecord) Iterate

func (t *TRecord) Iterate(f func(statement Statement))

func (TRecord) Location

func (t TRecord) Location() ast.Location

func (*TRecord) SemanticTokens

func (t *TRecord) SemanticTokens() []ast.SemanticToken

func (TRecord) Successor

func (t TRecord) Successor() normalized.Statement

type TTuple

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

func (*TTuple) Iterate

func (t *TTuple) Iterate(f func(statement Statement))

func (TTuple) Location

func (t TTuple) Location() ast.Location

func (*TTuple) SemanticTokens

func (t *TTuple) SemanticTokens() []ast.SemanticToken

func (TTuple) Successor

func (t TTuple) Successor() normalized.Statement

type TUnit

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

func (*TUnit) Iterate

func (t *TUnit) Iterate(f func(statement Statement))

func (TUnit) Location

func (t TUnit) Location() ast.Location

func (*TUnit) SemanticTokens

func (t *TUnit) SemanticTokens() []ast.SemanticToken

func (TUnit) Successor

func (t TUnit) Successor() normalized.Statement

type Tuple

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

func (*Tuple) Iterate

func (e *Tuple) Iterate(f func(statement Statement))

func (Tuple) Location

func (e Tuple) Location() ast.Location

func (*Tuple) SemanticTokens

func (e *Tuple) SemanticTokens() []ast.SemanticToken

func (Tuple) Successor

func (e Tuple) Successor() normalized.Statement

type Type

type Type interface {
	Statement
	// contains filtered or unexported methods
}

func NewTData

func NewTData(loc ast.Location, name ast.FullIdentifier, args []Type, options []*DataOption, nameLocation ast.Location) Type

func NewTFunc

func NewTFunc(loc ast.Location, params []Type, ret Type) Type

func NewTNamed

func NewTNamed(loc ast.Location, name ast.QualifiedIdentifier, args []Type, nameLocation ast.Location) Type

func NewTNative

func NewTNative(loc ast.Location, name ast.FullIdentifier, args []Type, nameLocation ast.Location) Type

func NewTParameter

func NewTParameter(loc ast.Location, name ast.Identifier) Type

func NewTRecord

func NewTRecord(loc ast.Location, fields map[ast.Identifier]Type) Type

func NewTTuple

func NewTTuple(loc ast.Location, items []Type) Type

func NewTUnit

func NewTUnit(loc ast.Location) Type

type Update

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

func (*Update) Iterate

func (e *Update) Iterate(f func(statement Statement))

func (Update) Location

func (e Update) Location() ast.Location

func (*Update) SemanticTokens

func (e *Update) SemanticTokens() []ast.SemanticToken

func (Update) Successor

func (e Update) Successor() normalized.Statement

type Var

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

func (*Var) Iterate

func (e *Var) Iterate(f func(statement Statement))

func (Var) Location

func (e Var) Location() ast.Location

func (*Var) SemanticTokens

func (e *Var) SemanticTokens() []ast.SemanticToken

func (*Var) SetSuccessor

func (e *Var) SetSuccessor(s normalized.Expression)

func (Var) Successor

func (e Var) Successor() normalized.Statement

Jump to

Keyboard shortcuts

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