MCPcopy
hub / github.com/google/mtail / Type

Method Type

internal/runtime/compiler/ast/ast.go:18–18  ·  view source on GitHub ↗

Returns the position of the node from the original source

()

Source from the content-addressed store, hash-verified

16type Node interface {
17 Pos() *position.Position // Returns the position of the node from the original source
18 Type() types.Type // Returns the type of the expression in this node
19}
20
21type StmtList struct {

Callers 7

TestCheckTypeExpressionsFunction · 0.65
VisitAfterMethod · 0.65
VisitBeforeMethod · 0.65
VisitBeforeMethod · 0.65
VisitBeforeMethod · 0.65
VisitAfterMethod · 0.65
emitNodeMethod · 0.65

Implementers 15

StmtListinternal/runtime/compiler/ast/ast.go
ExprListinternal/runtime/compiler/ast/ast.go
CondStmtinternal/runtime/compiler/ast/ast.go
IDTerminternal/runtime/compiler/ast/ast.go
CaprefTerminternal/runtime/compiler/ast/ast.go
BuiltinExprinternal/runtime/compiler/ast/ast.go
BinaryExprinternal/runtime/compiler/ast/ast.go
UnaryExprinternal/runtime/compiler/ast/ast.go
IndexedExprinternal/runtime/compiler/ast/ast.go
VarDeclinternal/runtime/compiler/ast/ast.go
StringLitinternal/runtime/compiler/ast/ast.go
IntLitinternal/runtime/compiler/ast/ast.go

Calls

no outgoing calls

Tested by 1

TestCheckTypeExpressionsFunction · 0.52