analyse method

String analyse(
  1. String unit
)

Implementation

String analyse(String unit) {
  if (Utilities.noString(unit)) {
    return '(unity)';
  }
  assert(checkStringParam(unit),
      paramError('analyse', 'unit', 'must not be null or empty'));
  final Term term = ExpressionParser(model).parse(unit);
  return FormalStructureComposer().compose(term);
}