JaMAndStyleAnalyses:
CEDAR
DEFINITIONS = {
LOR: TYPE = LIST OF ROPE;
ROPE: TYPE = Rope.ROPE;
TiogaNode: TYPE = TextNode.Ref;
JSAnalysis: TYPE = REF JSAnalysisPrivate;
JSAnalysisPrivate:
TYPE =
RECORD [
runs, attachs: LOR ← NIL,
bodyStart, prefixEnd: INT ← 0
];
GetAnalysis: PUBLIC PROC [doc: TiogaNode, docName: ROPE, verbose: BOOL] RETURNS [anal: JSAnalysis];
}.