klyn.code.ast.DeclarationNode.name
property
public readonly property name as String
Description

Simple identifier name of this declaration.

Returns

Symbol name.

Example
import klyn.code.ast

node = DeclarationNode(DeclarationKind.CLASS, "Box", "class Box", SourceRange())
assert node.name == "Box"