Skip to content
Snippets Groups Projects
Select Git revision
  • 098eb9373efc9437780cdb08b4c0d4dc417155e5
  • master default protected
  • artifact-evaluation
  • artifact-evaluation-poster
  • ci
5 results

make_readme.sh

Blame
  • Forked from stgroup / trainbenchmark
    Source project has a limited visibility.
    doc.ts 619 B
    import {AstDecl} from './ast-decl/ast-decl';
    
    export class Doc {
      ast: string;
      astdecl: AstDecl;
      ragFile: string;
      line: number;
      description: string;
      apilevel: string;
      relation: string;
      params: string[]
    
      static fromJson(json: any): Doc {
        var astdecl: AstDecl = undefined;
        if (json.astdecl) {
          astdecl = AstDecl.fromJson(json.astdecl);
        }
        return {
          ast: json.ast,
          astdecl: astdecl,
          ragFile: json.ragFile,
          line: json.line,
          description: json.description,
          apilevel: json.apilevel,
          relation: json.relation,
          params: json.params,
        };
      }
    }