tran method

  1. @override
String tran(
  1. LanguageTip tip
)
override

transform to target code, the target information is in the tip

Implementation

@override
String tran(LanguageTip tip) {
  final format = tip.getRule('str');
  return sprintf(format, [value]);
}