callableenum

package
v0.0.0-...-e98e1b7 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NONE = iota
	FUNCTION
	METHOD
	// to identify initlizers and disallow return statement in them.
	INITIALIZER
)

helps to track if the current scope inside a function or not to fix behavior where return statement or 'this' expression are allowed outside of a function or method :).

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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