MCPcopy Create free account
hub / github.com/antlr/codebuff / addExemplar

Method addExemplar

src/org/antlr/codebuff/Corpus.java:41–46  ·  view source on GitHub ↗
(InputDocument doc, int[] features, int ws, int hpos)

Source from the content-addressed store, hash-verified

39 public List<Integer> hpos;
40
41 public void addExemplar(InputDocument doc, int[] features, int ws, int hpos) {
42 documentsPerExemplar.add(doc);
43 featureVectors.add(features);
44 injectWhitespace.add(ws);
45 this.hpos.add(hpos);
46 }
47
48 public String rootDir;
49 public LangDescriptor language;

Callers 1

Calls 1

addMethod · 0.65

Tested by

no test coverage detected