Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/expr-lang/expr
/ types & classes
Types & classes
379 in github.com/expr-lang/expr
⨍
Functions
2,191
◇
Types & classes
379
↓ 204 callers
Struct
Env
bench_test.go:97
↓ 15 callers
TypeAlias
pstringer
custom type to test Stinger interface on pointer receiver.
internal/spew/common_test.go:37
↓ 13 callers
FuncType
fn
func(depth int) string
test/gen/gen.go:138
↓ 10 callers
TypeAlias
Identifier
Identifier represents variable names and field names.
docgen/docgen.go:17
↓ 9 callers
TypeAlias
customError
customError is used to test custom error interface invocation.
internal/spew/common_test.go:86
↓ 4 callers
TypeAlias
myType
internal/testify/assert/assertions_test.go:518
↓ 3 callers
TypeAlias
ContextDiff
internal/difflib/difflib.go:658
↓ 3 callers
TypeAlias
TypeName
TypeName is a name of type in types map.
docgen/docgen.go:20
↓ 2 callers
TypeAlias
TString
internal/testify/assert/assertions_test.go:1583
↓ 2 callers
TypeAlias
customBytes
internal/testify/assert/assertion_compare_test.go:28
↓ 2 callers
TypeAlias
customFloat32
internal/testify/assert/assertion_compare_test.go:24
↓ 2 callers
TypeAlias
customFloat64
internal/testify/assert/assertion_compare_test.go:25
↓ 2 callers
TypeAlias
customInt
internal/testify/assert/assertion_compare_test.go:14
↓ 2 callers
TypeAlias
customInt16
internal/testify/assert/assertion_compare_test.go:16
↓ 2 callers
TypeAlias
customInt32
internal/testify/assert/assertion_compare_test.go:17
↓ 2 callers
TypeAlias
customInt64
internal/testify/assert/assertion_compare_test.go:18
↓ 2 callers
TypeAlias
customInt8
internal/testify/assert/assertion_compare_test.go:15
↓ 2 callers
TypeAlias
customString
internal/testify/assert/assertion_compare_test.go:13
↓ 2 callers
TypeAlias
customTime
internal/testify/assert/assertion_compare_test.go:27
↓ 2 callers
TypeAlias
customUInt
internal/testify/assert/assertion_compare_test.go:19
↓ 2 callers
TypeAlias
customUInt16
internal/testify/assert/assertion_compare_test.go:21
↓ 2 callers
TypeAlias
customUInt32
internal/testify/assert/assertion_compare_test.go:22
↓ 2 callers
TypeAlias
customUInt64
internal/testify/assert/assertion_compare_test.go:23
↓ 2 callers
TypeAlias
customUInt8
internal/testify/assert/assertion_compare_test.go:20
↓ 2 callers
TypeAlias
customUintptr
internal/testify/assert/assertion_compare_test.go:26
↓ 2 callers
TypeAlias
flag
internal/spew/bypass.go:40
↓ 2 callers
TypeAlias
panicer
panicer is used to intentionally cause a panic for testing spew properly handles them
internal/spew/common_test.go:79
↓ 1 callers
TypeAlias
Duration
docgen/docgen_test.go:36
↓ 1 callers
TypeAlias
Flag
internal/spew/example_test.go:25
↓ 1 callers
FuncType
Option
Option for configuring config.
expr.go:22
↓ 1 callers
TypeAlias
compareResult
internal/testify/assert/assertion_compare.go:13
↓ 1 callers
TypeAlias
customInt
builtin/builtin_test.go:684
↓ 1 callers
TypeAlias
foo
test/deref/deref_test.go:117
↓ 1 callers
TypeAlias
stringer
custom type to test Stinger interface on non-pointer receiver.
internal/spew/common_test.go:28
↓ 1 callers
FuncType
visitorFunc
func(*ast.Node)
checker/checker_bench_test.go:100
Struct
A
expr_test.go:1806
Struct
A
internal/testify/assert/assertions_test.go:920
Struct
A
docgen/docgen_test.go:137
Interface
Abstract
test/mock/mock.go:197
Struct
Alert
test/crowdsec/crowdsec.go:34
Struct
AlertEdges
test/crowdsec/crowdsec.go:94
Interface
AnyValuer
A AnyValuer provides a generic function for a custom type to return standard go values. It allows for returning a `nil` value but does not provide any
patcher/value/value.go:35
Struct
ArrayNode
ArrayNode represents an array.
ast/node.go:235
Interface
ArrayValuer
patcher/value/value.go:103
Struct
AssertionTesterConformingObject
AssertionTesterConformingObject is an object that conforms to the AssertionTesterInterface interface
internal/testify/assert/assertions_test.go:94
Struct
AssertionTesterConformingObject
AssertionTesterConformingObject is an object that conforms to the AssertionTesterInterface interface
internal/testify/require/requirements_test.go:16
Interface
AssertionTesterInterface
AssertionTesterInterface defines an interface to be used for testing assertion methods
internal/testify/assert/assertions_test.go:89
Interface
AssertionTesterInterface
AssertionTesterInterface defines an interface to be used for testing assertion methods
internal/testify/require/requirements_test.go:11
Struct
AssertionTesterNonConformingObject
AssertionTesterNonConformingObject is an object that does not conform to the AssertionTesterInterface interface
internal/testify/assert/assertions_test.go:101
Struct
AssertionTesterNonConformingObject
AssertionTesterNonConformingObject is an object that does not conform to the AssertionTesterInterface interface
internal/testify/require/requirements_test.go:23
Struct
Assertions
Assertions provides assertion methods around the TestingT interface.
internal/testify/assert/forward_assertions.go:5
Struct
Assertions
Assertions provides assertion methods around the TestingT interface.
internal/testify/require/forward_requirements.go:5
TypeAlias
Associativity
parser/operator/operator.go:3
Struct
Author
test/playground/env.go:17
Struct
B
expr_test.go:1809
Struct
B
compiler/compiler_test.go:18
Struct
B
docgen/docgen_test.go:141
Interface
Bar
test/interface/interface_method_test.go:12
Struct
Bar
test/mock/mock.go:193
Struct
Bar
internal/spew/example_test.go:44
TypeAlias
BarArray
expr_test.go:1974
Struct
BarImpl
test/interface/interface_method_test.go:22
Struct
BinaryNode
BinaryNode represents a binary operator.
ast/node.go:130
Struct
Blog
test/playground/env.go:89
FuncType
BoolAssertionFunc
BoolAssertionFunc is a common function prototype when validating a bool value. Can be useful for table driven tests.
internal/testify/assert/assertions.go:42
FuncType
BoolAssertionFunc
BoolAssertionFunc is a common function prototype when validating a bool value. Can be useful for table driven tests.
internal/testify/require/requirements.go:23
Struct
BoolNode
BoolNode represents a boolean.
ast/node.go:96
Interface
BoolValuer
patcher/value/value.go:43
Struct
BuiltinNode
BuiltinNode represents a builtin function call.
ast/node.go:184
Struct
BytesNode
BytesNode represents a byte slice.
ast/node.go:108
Struct
C
expr_test.go:1812
Struct
C
docgen/docgen_test.go:145
Struct
Cache
Cache is a shared cache of type information. It is only used in the stages where type information becomes relevant, so packages like ast, parser, type
checker/nature/nature.go:100
Struct
CallEnv
bench_test.go:315
Struct
CallFoo
bench_test.go:328
Struct
CallNode
CallNode represents a function or a method call.
ast/node.go:177
Struct
ChainNode
ChainNode represents an optional chaining group. A few MemberNode nodes can be chained together, and will be wrapped in a ChainNode. Example: foo.ba
ast/node.go:144
Interface
Checker
conf/config.go:87
Struct
Checker
checker/checker.go:53
Struct
CodeBlock
CodeBlock holds the optional title and content of a code block.
test/examples/markdown.go:8
Struct
CollectT
CollectT implements the TestingT interface and collects all errors.
internal/testify/assert/assertions.go:1899
Struct
Comment
test/playground/env.go:73
Struct
CompareStruct
internal/testify/assert/assertion_compare_test.go:404
FuncType
Comparison
Comparison is a custom function that returns true on success and false on failure
internal/testify/assert/assertions.go:53
FuncType
ComparisonAssertionFunc
ComparisonAssertionFunc is a common function prototype when comparing two values. Can be useful for table driven tests.
internal/testify/assert/assertions.go:34
FuncType
ComparisonAssertionFunc
ComparisonAssertionFunc is a common function prototype when comparing two values. Can be useful for table driven tests.
internal/testify/require/requirements.go:15
FuncType
Condition
func(e *Env) bool
test/operator/issues584/issues584_test.go:50
Struct
ConditionalNode
ConditionalNode represents a ternary operator or if/else operator.
ast/node.go:211
TypeAlias
Conditions
test/operator/issues584/issues584_test.go:51
Struct
Config
conf/config.go:23
Struct
ConfigState
ConfigState houses the configuration options used by spew to format and display values. There is a global instance, Config, that is used to control a
internal/spew/config.go:37
Struct
ConstantNode
ConstantNode represents a constant. Constants are predefined values like nil, true, false, array, map, etc. The parser.Parse will never generate Const
ast/node.go:117
Struct
Container
test/issues/888/issue_test.go:10
Struct
Context
docgen/docgen.go:22
Struct
Data
expr_test.go:1854
Struct
Decimal
expr_test.go:422
Struct
Decimal
test/operator/operator_test.go:221
Struct
Decision
test/crowdsec/crowdsec.go:138
Interface
DurationValuer
patcher/value/value.go:99
Struct
Embed
test/mock/mock.go:144
next →
1–100 of 379, ranked by callers