toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.shakespeare
/
com.shakelang.shake.shakespeare.spec.code
/
VariableDeclarationSpec
Variable
Declaration
Spec
class
VariableDeclarationSpec
(
val
name
:
Identifier
,
val
type
:
Type
,
val
value
:
ValueSpec
)
:
StatementSpec
(
source
)
Members
Constructors
Variable
Declaration
Spec
Link copied to clipboard
constructor
(
name
:
Identifier
,
type
:
Type
,
value
:
ValueSpec
)
Types
Companion
Link copied to clipboard
object
Companion
Variable
Declaration
Spec
Builder
Link copied to clipboard
open
class
VariableDeclarationSpecBuilder
Properties
name
Link copied to clipboard
val
name
:
Identifier
type
Link copied to clipboard
val
type
:
Type
value
Link copied to clipboard
val
value
:
ValueSpec
Functions
generate
Link copied to clipboard
open
override
fun
generate
(
ctx
:
GenerationContext
)
:
String