field
fun LanguageFrontend<*, *>.field(name: CharSequence, type: Type = unknownType(), init: FieldDeclaration.() -> Unit? = null): FieldDeclaration
Creates a new FieldDeclaration in the Fluent Node DSL with the given name and optional type. The init block can be used to create further sub-nodes as well as configuring the created node itself.