private int seq = 0;
@Override
public SourceCode createSourceCode(SourceCode parentSourceCode, AstNode astNode) {
seq++;
SourceClass cls = new SourceClass("class:" + seq);
cls.setStartAtLine(astNode.getTokenLine());
return cls;
}
}, EcmaScriptGrammar.CLASS_DECLARATION));
builder.withSquidAstVisitor(CounterVisitor.<LexerlessGrammar>builder().setMetricDef(EcmaScriptMetric.CLASSES)