From 12f475c432ba51517f1e43c8346f9f0aeb802a45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Bispo?= Date: Thu, 2 Jan 2025 13:45:10 +0000 Subject: [PATCH] Deletes commented code --- LARAC/src/larac/LaraC.java | 16 ---------------- LARAI/src/larai/LaraI.java | 5 ----- 2 files changed, 21 deletions(-) diff --git a/LARAC/src/larac/LaraC.java b/LARAC/src/larac/LaraC.java index 329245fa..638111ea 100644 --- a/LARAC/src/larac/LaraC.java +++ b/LARAC/src/larac/LaraC.java @@ -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 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) { @@ -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()); diff --git a/LARAI/src/larai/LaraI.java b/LARAI/src/larai/LaraI.java index f949d96b..bc985856 100644 --- a/LARAI/src/larai/LaraI.java +++ b/LARAI/src/larai/LaraI.java @@ -555,11 +555,6 @@ private void startAspectIR() throws DOMException, Exception { // } } - // public Pair compileWithLARAC(File fileName, LanguageSpecificationV2 langSpec, - // LaraIDataStore options, - // Output out) throws Exception { - // - // } /** * Compile the lara file with LARAC, according to a {@link LanguageSpecification}