Skip to content

Commit

Permalink
Deletes commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
joaobispo committed Jan 2, 2025
1 parent a32dfdf commit 12f475c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
16 changes: 0 additions & 16 deletions LARAC/src/larac/LaraC.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,23 +169,11 @@ public static LaraC newImporter(ResourceProvider laraResource, LaraCOptions opti
return laraC;
}

// public static LaraC newImporter(String filename, String laraCode, LaraCOptions options,
// LanguageSpecificationV2 langSpec,
// Output output, Map<String, LaraC> importedFiles) {
//
// LaraC laraC = new LaraC(options, langSpec, output);
// laraC.setLaraPath(filename);
// laraC.setLaraStreamProvider(() -> SpecsIo.toInputStream(laraCode));
// laraC.parseForImport(importedFiles);
// return laraC;
// }

private LaraC(LaraCOptions options, LanguageSpecification langSpec, Output output) {
setParsed(false);
this.options = options;
print = output;
languageSpec = langSpec;
// languageSpecV2 = JoinPointFactory.fromOld(langSpec);
}

public void setToJsMode(boolean toJsMode, String laraFilename, String laraCode) {
Expand Down Expand Up @@ -668,10 +656,6 @@ public LanguageSpecification getLanguageSpec() {
return languageSpec;
}

// public LanguageSpecificationV2 getLanguageSpecV2() {
// // return languageSpecV2;
// return JoinPointFactory.fromOld(getLanguageSpec());
// }

public Organizer getOrganizer() {
return new Organizer(getLanguageSpec());
Expand Down
5 changes: 0 additions & 5 deletions LARAI/src/larai/LaraI.java
Original file line number Diff line number Diff line change
Expand Up @@ -555,11 +555,6 @@ private void startAspectIR() throws DOMException, Exception {
// }
}

// public Pair<Document, LaraC> compileWithLARAC(File fileName, LanguageSpecificationV2 langSpec,
// LaraIDataStore options,
// Output out) throws Exception {
//
// }

/**
* Compile the lara file with LARAC, according to a {@link LanguageSpecification}
Expand Down

0 comments on commit 12f475c

Please sign in to comment.