Documentation ¶
Index ¶
- func AllActivationTypes(activation *sema.VariableActivation) map[string]sema.Type
- func AllBaseSemaTypes() map[string]sema.Type
- func AllBaseSemaValueTypes() map[string]sema.Type
- func ParseAndCheck(t testing.TB, code string) (*sema.Checker, error)
- func ParseAndCheckWithOptions(t testing.TB, code string, options ParseAndCheckOptions) (*sema.Checker, error)
- func ParseAndCheckWithOptionsAndMemoryMetering(t testing.TB, code string, options ParseAndCheckOptions, ...) (*sema.Checker, error)
- func RequireCheckerErrors(t *testing.T, err error, count int) []error
- func RequireGlobalType(t *testing.T, elaboration *sema.Elaboration, name string) sema.Type
- func RequireGlobalValue(t *testing.T, elaboration *sema.Elaboration, name string) sema.Type
- type ParseAndCheckOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllActivationTypes ¶ added in v1.0.0
func AllActivationTypes(activation *sema.VariableActivation) map[string]sema.Type
func AllBaseSemaTypes ¶ added in v1.0.0
func AllBaseSemaValueTypes ¶ added in v1.0.0
func ParseAndCheckWithOptionsAndMemoryMetering ¶ added in v0.24.0
func ParseAndCheckWithOptionsAndMemoryMetering( t testing.TB, code string, options ParseAndCheckOptions, memoryGauge common.MemoryGauge, ) (*sema.Checker, error)
func RequireCheckerErrors ¶ added in v0.28.0
func RequireGlobalType ¶ added in v0.13.0
func RequireGlobalValue ¶ added in v0.13.0
Types ¶
Click to show internal directories.
Click to hide internal directories.