klyn.code.ast.DeclarationNode.returnType
property
public property returnType as String
Description

Declared return or field type name.

Returns

Return type string.

Example
import klyn.code.ast

node = DeclarationNode(DeclarationKind.METHOD, "size", "public size() as Int", SourceRange(), "public", "Int")
assert node.returnType == "Int"