public property returnType as String
Declared return or field type name.
Return type string.
import klyn.code.ast node = DeclarationNode(DeclarationKind.METHOD, "size", "public size() as Int", SourceRange(), "public", "Int") assert node.returnType == "Int"