genPublicDeclarations static method

List<CodeUnit> genPublicDeclarations(
  1. List<Method> methods, {
  2. int depth = 0,
})

传入模块方法列表,生成头文件类声明列表

Implementation

static List<CodeUnit> genPublicDeclarations(List<Method> methods,
    {int depth = 0}) {
  return _parseMethodGenCodes(
      methods, (uniCallback) => uniCallback.getPublicDeclaration());
}