Preparing search index...
The search index is not available
Beerlang
Beerlang
src/types
BeerClass
Class BeerClass
Represents a Beer class.
Hierarchy
BeerCallable
BeerClass
Index
Constructors
constructor
Properties
methods
name
superclass
Methods
arity
call
find_
method
to_
string
Constructors
constructor
new
Beer
Class
(
name
,
methods
,
superclass
)
:
BeerClass
Parameters
name
:
string
methods
:
Map
<
string
,
BeerFunction
>
superclass
:
null
|
BeerClass
Returns
BeerClass
Properties
Private
methods
methods
:
Map
<
string
,
BeerFunction
>
name
name
:
string
Private
superclass
superclass
:
null
|
BeerClass
Methods
arity
arity
(
)
:
number
Returns
number
call
call
(
interpreter
,
args
)
:
BeerObject
Parameters
interpreter
:
Beer
args
:
BeerObject
[]
Returns
BeerObject
find_
method
find_
method
(
name
)
:
null
|
BeerFunction
Parameters
name
:
string
Returns
null
|
BeerFunction
to_
string
to_
string
(
)
:
string
Returns
string
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
methods
name
superclass
arity
call
find_
method
to_
string
Beerlang
Beer
src/ast
src/environment
src/error.ts
src/interpreter
src/parser
src/read_source
src/resolver
src/runner
src/scanner
src/token
src/types
Generated using
TypeDoc
Represents a Beer class.