MCPcopy
hub / github.com/MadAppGang/dingo / HasBindings

Method HasBindings

pkg/ast/match.go:73–73  ·  view source on GitHub ↗

String representation

()

Source from the content-addressed store, hash-verified

71 End() token.Pos // End position
72 String() string // String representation
73 HasBindings() bool // Does pattern bind variables?
74 GetBindings() []Binding // Extract all bindings (recursive for nested)
75}
76

Callers 5

HasBindingsMethod · 0.65
HasBindingsMethod · 0.65
HasBindingsMethod · 0.65
HasBindingsMethod · 0.65
HasBindingsMethod · 0.65

Implementers 10

ConstructorPatternpkg/ast/match.go
TuplePatternpkg/ast/match.go
VariablePatternpkg/ast/match.go
WildcardPatternpkg/ast/match.go
LiteralPatternpkg/ast/match.go
OrPatternpkg/ast/pattern.go
RestPatternpkg/ast/pattern.go
RangePatternpkg/ast/pattern.go
SlicePatternpkg/ast/pattern.go
StructFieldPatternpkg/ast/pattern.go

Calls

no outgoing calls

Tested by

no test coverage detected