generator formatting

This commit is contained in:
laurenz 2024-05-07 13:02:52 +02:00
parent 535c712421
commit 1ff02f86e8
4 changed files with 54 additions and 55 deletions

View File

@ -10,8 +10,7 @@ import org.antlr.v4.runtime.CommonTokenStream;
/** /**
* Decaf language Compiler * Decaf language Compiler
*/ */
public class Compiler public class Compiler {
{
public static Program generateAST(String fromSource) { public static Program generateAST(String fromSource) {
CharStream input = CharStreams.fromString(fromSource); CharStream input = CharStreams.fromString(fromSource);