mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 21:21:33 +00:00
ast: default value support in generation
This commit is contained in:
@ -123,6 +123,7 @@ types:
|
||||
type: Symbol
|
||||
- name: multiple
|
||||
type: Boolean
|
||||
defaultValue: "false"
|
||||
FunctionDefinition:
|
||||
parent: Definition
|
||||
values:
|
||||
|
@ -6,4 +6,4 @@ import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
@SerialName("argumentSpec")
|
||||
class ArgumentSpec(var symbol: Symbol, var multiple: Boolean)
|
||||
class ArgumentSpec(var symbol: Symbol, var multiple: Boolean = false)
|
||||
|
Reference in New Issue
Block a user