parseString function

String parseString(
  1. MetaObject context,
  2. String defaultvalue,
  3. TreeNode node,
  4. String property
)

Implementation

String parseString(MetaObject context, String defaultvalue, TreeNode node,
    String property) {
  var r = parseObject(context, defaultvalue, node, property);
  if(r==null) {
    return defaultvalue;
  }
  return r.toString();
}