Renamed packages to match Java guidelines.

main
Deryck Brown 3 years ago
parent 55f6b2d105
commit bffeafba10
  1. 2
      Triangle.AbstractMachine.Disassembler/src/main/java/triangle/abstractMachine/Disassembler.java
  2. 2
      Triangle.AbstractMachine.Interpreter/src/main/java/triangle/abstractMachine/Interpreter.java
  3. 2
      Triangle.AbstractMachine/src/main/java/triangle/abstractMachine/Instruction.java
  4. 2
      Triangle.AbstractMachine/src/main/java/triangle/abstractMachine/Machine.java
  5. 2
      Triangle.AbstractMachine/src/main/java/triangle/abstractMachine/OpCode.java
  6. 2
      Triangle.AbstractMachine/src/main/java/triangle/abstractMachine/Primitive.java
  7. 2
      Triangle.AbstractMachine/src/main/java/triangle/abstractMachine/Register.java
  8. 27
      Triangle.Compiler/src/main/java/Triangle/AbstractSyntaxTrees/Visitors/CommandVisitor.java
  9. 11
      Triangle.Compiler/src/main/java/Triangle/CodeGenerator/Entities/FetchableEntity.java
  10. 20
      Triangle.Compiler/src/main/java/triangle/Compiler.java
  11. 4
      Triangle.Compiler/src/main/java/triangle/ErrorReporter.java
  12. 18
      Triangle.Compiler/src/main/java/triangle/StdEnvironment.java
  13. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/AbstractSyntaxTree.java
  14. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/Program.java
  15. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/actuals/ActualParameter.java
  16. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/actuals/ActualParameterSequence.java
  17. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/actuals/ConstActualParameter.java
  18. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/actuals/EmptyActualParameterSequence.java
  19. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/actuals/FuncActualParameter.java
  20. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/actuals/MultipleActualParameterSequence.java
  21. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/actuals/ProcActualParameter.java
  22. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/actuals/SingleActualParameterSequence.java
  23. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/actuals/VarActualParameter.java
  24. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/aggregates/ArrayAggregate.java
  25. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/aggregates/MultipleArrayAggregate.java
  26. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/aggregates/MultipleRecordAggregate.java
  27. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/aggregates/RecordAggregate.java
  28. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/aggregates/SingleArrayAggregate.java
  29. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/aggregates/SingleRecordAggregate.java
  30. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/commands/AssignCommand.java
  31. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/commands/CallCommand.java
  32. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/commands/Command.java
  33. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/commands/EmptyCommand.java
  34. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/commands/IfCommand.java
  35. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/commands/LetCommand.java
  36. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/commands/SequentialCommand.java
  37. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/commands/WhileCommand.java
  38. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/declarations/BinaryOperatorDeclaration.java
  39. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/declarations/ConstDeclaration.java
  40. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/declarations/Declaration.java
  41. 14
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/declarations/FuncDeclaration.java
  42. 12
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/declarations/ProcDeclaration.java
  43. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/declarations/SequentialDeclaration.java
  44. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/declarations/UnaryOperatorDeclaration.java
  45. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/declarations/VarDeclaration.java
  46. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/expressions/ArrayExpression.java
  47. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/expressions/BinaryExpression.java
  48. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/expressions/CallExpression.java
  49. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/expressions/CharacterExpression.java
  50. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/expressions/EmptyExpression.java
  51. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/expressions/Expression.java
  52. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/expressions/IfExpression.java
  53. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/expressions/IntegerExpression.java
  54. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/expressions/LetExpression.java
  55. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/expressions/RecordExpression.java
  56. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/expressions/UnaryExpression.java
  57. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/expressions/VnameExpression.java
  58. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/formals/ConstFormalParameter.java
  59. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/formals/EmptyFormalParameterSequence.java
  60. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/formals/FormalParameter.java
  61. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/formals/FormalParameterSequence.java
  62. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/formals/FuncFormalParameter.java
  63. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/formals/MultipleFormalParameterSequence.java
  64. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/formals/ProcFormalParameter.java
  65. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/formals/SingleFormalParameterSequence.java
  66. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/formals/VarFormalParameter.java
  67. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/terminals/CharacterLiteral.java
  68. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/terminals/Identifier.java
  69. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/terminals/IntegerLiteral.java
  70. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/terminals/Operator.java
  71. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/terminals/Terminal.java
  72. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/types/AnyTypeDenoter.java
  73. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/types/ArrayTypeDenoter.java
  74. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/types/BoolTypeDenoter.java
  75. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/types/CharTypeDenoter.java
  76. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/types/ErrorTypeDenoter.java
  77. 4
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/types/FieldTypeDenoter.java
  78. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/types/IntTypeDenoter.java
  79. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/types/MultipleFieldTypeDenoter.java
  80. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/types/RecordTypeDenoter.java
  81. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/types/SimpleTypeDenoter.java
  82. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/types/SingleFieldTypeDenoter.java
  83. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/types/TypeDeclaration.java
  84. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/types/TypeDenoter.java
  85. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/ActualParameterSequenceVisitor.java
  86. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/ActualParameterVisitor.java
  87. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/ArrayAggregateVisitor.java
  88. 27
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/CommandVisitor.java
  89. 20
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/DeclarationVisitor.java
  90. 26
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/ExpressionVisitor.java
  91. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/FieldTypeDenoterVisitor.java
  92. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/FormalParameterSequenceVisitor.java
  93. 10
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/FormalParameterVisitor.java
  94. 4
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/IdentifierVisitor.java
  95. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/LiteralVisitor.java
  96. 4
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/OperatorVisitor.java
  97. 4
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/ProgramVisitor.java
  98. 6
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/RecordAggregateVisitor.java
  99. 20
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/TypeDenoterVisitor.java
  100. 8
      Triangle.Compiler/src/main/java/triangle/abstractSyntaxTrees/visitors/VnameVisitor.java
  101. Some files were not shown because too many files have changed in this diff Show More

@ -12,7 +12,7 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractMachine; package triangle.abstractMachine;
import java.io.DataInputStream; import java.io.DataInputStream;
import java.io.FileInputStream; import java.io.FileInputStream;

@ -12,7 +12,7 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractMachine; package triangle.abstractMachine;
import java.io.DataInputStream; import java.io.DataInputStream;
import java.io.FileInputStream; import java.io.FileInputStream;

@ -12,7 +12,7 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractMachine; package triangle.abstractMachine;
import java.io.DataInputStream; import java.io.DataInputStream;
import java.io.DataOutputStream; import java.io.DataOutputStream;

@ -12,7 +12,7 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractMachine; package triangle.abstractMachine;
public final class Machine { public final class Machine {

@ -1,4 +1,4 @@
package Triangle.AbstractMachine; package triangle.abstractMachine;
public enum OpCode { public enum OpCode {
LOAD, LOADA, LOADI, LOADL, STORE, STOREI, CALL, CALLI, RETURN, PUSH, POP, JUMP, JUMPI, JUMPIF, HALT LOAD, LOADA, LOADI, LOADL, STORE, STOREI, CALL, CALLI, RETURN, PUSH, POP, JUMP, JUMPI, JUMPIF, HALT

@ -1,4 +1,4 @@
package Triangle.AbstractMachine; package triangle.abstractMachine;
public enum Primitive { public enum Primitive {
ID, NOT, AND, OR, SUCC, PRED, NEG, ADD, SUB, MULT, DIV, MOD, LT, LE, GE, GT, EQ, NE, EOL, EOF, GET, PUT, GETEOL, ID, NOT, AND, OR, SUCC, PRED, NEG, ADD, SUB, MULT, DIV, MOD, LT, LE, GE, GT, EQ, NE, EOL, EOF, GET, PUT, GETEOL,

@ -1,4 +1,4 @@
package Triangle.AbstractMachine; package triangle.abstractMachine;
public enum Register { public enum Register {
CB, CT, PB, PT, SB, ST, HB, HT, LB, L1, L2, L3, L4, L5, L6, CP CB, CT, PB, PT, SB, ST, HB, HT, LB, L1, L2, L3, L4, L5, L6, CP

@ -1,27 +0,0 @@
package Triangle.AbstractSyntaxTrees.Visitors;
import Triangle.AbstractSyntaxTrees.Commands.AssignCommand;
import Triangle.AbstractSyntaxTrees.Commands.CallCommand;
import Triangle.AbstractSyntaxTrees.Commands.EmptyCommand;
import Triangle.AbstractSyntaxTrees.Commands.IfCommand;
import Triangle.AbstractSyntaxTrees.Commands.LetCommand;
import Triangle.AbstractSyntaxTrees.Commands.SequentialCommand;
import Triangle.AbstractSyntaxTrees.Commands.WhileCommand;
public interface CommandVisitor<TArg, TResult> {
TResult visitAssignCommand(AssignCommand ast, TArg arg);
TResult visitCallCommand(CallCommand ast, TArg arg);
TResult visitEmptyCommand(EmptyCommand ast, TArg arg);
TResult visitIfCommand(IfCommand ast, TArg arg);
TResult visitLetCommand(LetCommand ast, TArg arg);
TResult visitSequentialCommand(SequentialCommand ast, TArg arg);
TResult visitWhileCommand(WhileCommand ast, TArg arg);
}

@ -1,11 +0,0 @@
package Triangle.CodeGenerator.Entities;
import Triangle.AbstractSyntaxTrees.Vnames.Vname;
import Triangle.CodeGenerator.Emitter;
import Triangle.CodeGenerator.Frame;
public interface FetchableEntity {
void encodeFetch(Emitter emitter, Frame frame, int size, Vname vname);
}

@ -12,16 +12,16 @@
* of the authors. * of the authors.
*/ */
package Triangle; package triangle;
import Triangle.AbstractSyntaxTrees.Program; import triangle.abstractSyntaxTrees.Program;
import Triangle.CodeGenerator.Emitter; import triangle.codeGenerator.Emitter;
import Triangle.CodeGenerator.Encoder; import triangle.codeGenerator.Encoder;
import Triangle.ContextualAnalyzer.Checker; import triangle.contextualAnalyzer.Checker;
import Triangle.SyntacticAnalyzer.Parser; import triangle.syntacticAnalyzer.Parser;
import Triangle.SyntacticAnalyzer.Scanner; import triangle.syntacticAnalyzer.Scanner;
import Triangle.SyntacticAnalyzer.SourceFile; import triangle.syntacticAnalyzer.SourceFile;
import Triangle.TreeDrawer.Drawer; import triangle.treeDrawer.Drawer;
/** /**
* The main driver class for the Triangle compiler. * The main driver class for the Triangle compiler.

@ -12,9 +12,9 @@
* of the authors. * of the authors.
*/ */
package Triangle; package triangle;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class ErrorReporter { public class ErrorReporter {

@ -12,15 +12,15 @@
* of the authors. * of the authors.
*/ */
package Triangle; package triangle;
import Triangle.AbstractSyntaxTrees.Declarations.BinaryOperatorDeclaration; import triangle.abstractSyntaxTrees.declarations.BinaryOperatorDeclaration;
import Triangle.AbstractSyntaxTrees.Declarations.ConstDeclaration; import triangle.abstractSyntaxTrees.declarations.ConstDeclaration;
import Triangle.AbstractSyntaxTrees.Declarations.FuncDeclaration; import triangle.abstractSyntaxTrees.declarations.FuncDeclaration;
import Triangle.AbstractSyntaxTrees.Declarations.ProcDeclaration; import triangle.abstractSyntaxTrees.declarations.ProcDeclaration;
import Triangle.AbstractSyntaxTrees.Declarations.UnaryOperatorDeclaration; import triangle.abstractSyntaxTrees.declarations.UnaryOperatorDeclaration;
import Triangle.AbstractSyntaxTrees.Types.TypeDeclaration; import triangle.abstractSyntaxTrees.types.TypeDeclaration;
import Triangle.AbstractSyntaxTrees.Types.TypeDenoter; import triangle.abstractSyntaxTrees.types.TypeDenoter;
public final class StdEnvironment { public final class StdEnvironment {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees; package triangle.abstractSyntaxTrees;
import Triangle.CodeGenerator.Entities.RuntimeEntity; import triangle.codeGenerator.entities.RuntimeEntity;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public abstract class AbstractSyntaxTree { public abstract class AbstractSyntaxTree {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees; package triangle.abstractSyntaxTrees;
import Triangle.AbstractSyntaxTrees.Commands.Command; import triangle.abstractSyntaxTrees.commands.Command;
import Triangle.AbstractSyntaxTrees.Visitors.ProgramVisitor; import triangle.abstractSyntaxTrees.visitors.ProgramVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class Program extends AbstractSyntaxTree { public class Program extends AbstractSyntaxTree {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Actuals; package triangle.abstractSyntaxTrees.actuals;
import Triangle.AbstractSyntaxTrees.AbstractSyntaxTree; import triangle.abstractSyntaxTrees.AbstractSyntaxTree;
import Triangle.AbstractSyntaxTrees.Visitors.ActualParameterVisitor; import triangle.abstractSyntaxTrees.visitors.ActualParameterVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public abstract class ActualParameter extends AbstractSyntaxTree { public abstract class ActualParameter extends AbstractSyntaxTree {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Actuals; package triangle.abstractSyntaxTrees.actuals;
import Triangle.AbstractSyntaxTrees.AbstractSyntaxTree; import triangle.abstractSyntaxTrees.AbstractSyntaxTree;
import Triangle.AbstractSyntaxTrees.Visitors.ActualParameterSequenceVisitor; import triangle.abstractSyntaxTrees.visitors.ActualParameterSequenceVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public abstract class ActualParameterSequence extends AbstractSyntaxTree { public abstract class ActualParameterSequence extends AbstractSyntaxTree {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Actuals; package triangle.abstractSyntaxTrees.actuals;
import Triangle.AbstractSyntaxTrees.Expressions.Expression; import triangle.abstractSyntaxTrees.expressions.Expression;
import Triangle.AbstractSyntaxTrees.Visitors.ActualParameterVisitor; import triangle.abstractSyntaxTrees.visitors.ActualParameterVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class ConstActualParameter extends ActualParameter { public class ConstActualParameter extends ActualParameter {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Actuals; package triangle.abstractSyntaxTrees.actuals;
import Triangle.AbstractSyntaxTrees.Visitors.ActualParameterSequenceVisitor; import triangle.abstractSyntaxTrees.visitors.ActualParameterSequenceVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class EmptyActualParameterSequence extends ActualParameterSequence { public class EmptyActualParameterSequence extends ActualParameterSequence {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Actuals; package triangle.abstractSyntaxTrees.actuals;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Visitors.ActualParameterVisitor; import triangle.abstractSyntaxTrees.visitors.ActualParameterVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class FuncActualParameter extends ActualParameter { public class FuncActualParameter extends ActualParameter {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Actuals; package triangle.abstractSyntaxTrees.actuals;
import Triangle.AbstractSyntaxTrees.Visitors.ActualParameterSequenceVisitor; import triangle.abstractSyntaxTrees.visitors.ActualParameterSequenceVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class MultipleActualParameterSequence extends ActualParameterSequence { public class MultipleActualParameterSequence extends ActualParameterSequence {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Actuals; package triangle.abstractSyntaxTrees.actuals;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Visitors.ActualParameterVisitor; import triangle.abstractSyntaxTrees.visitors.ActualParameterVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class ProcActualParameter extends ActualParameter { public class ProcActualParameter extends ActualParameter {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Actuals; package triangle.abstractSyntaxTrees.actuals;
import Triangle.AbstractSyntaxTrees.Visitors.ActualParameterSequenceVisitor; import triangle.abstractSyntaxTrees.visitors.ActualParameterSequenceVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class SingleActualParameterSequence extends ActualParameterSequence { public class SingleActualParameterSequence extends ActualParameterSequence {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Actuals; package triangle.abstractSyntaxTrees.actuals;
import Triangle.AbstractSyntaxTrees.Visitors.ActualParameterVisitor; import triangle.abstractSyntaxTrees.visitors.ActualParameterVisitor;
import Triangle.AbstractSyntaxTrees.Vnames.Vname; import triangle.abstractSyntaxTrees.vnames.Vname;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class VarActualParameter extends ActualParameter { public class VarActualParameter extends ActualParameter {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Aggregates; package triangle.abstractSyntaxTrees.aggregates;
import Triangle.AbstractSyntaxTrees.AbstractSyntaxTree; import triangle.abstractSyntaxTrees.AbstractSyntaxTree;
import Triangle.AbstractSyntaxTrees.Visitors.ArrayAggregateVisitor; import triangle.abstractSyntaxTrees.visitors.ArrayAggregateVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public abstract class ArrayAggregate extends AbstractSyntaxTree { public abstract class ArrayAggregate extends AbstractSyntaxTree {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Aggregates; package triangle.abstractSyntaxTrees.aggregates;
import Triangle.AbstractSyntaxTrees.Expressions.Expression; import triangle.abstractSyntaxTrees.expressions.Expression;
import Triangle.AbstractSyntaxTrees.Visitors.ArrayAggregateVisitor; import triangle.abstractSyntaxTrees.visitors.ArrayAggregateVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class MultipleArrayAggregate extends ArrayAggregate { public class MultipleArrayAggregate extends ArrayAggregate {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Aggregates; package triangle.abstractSyntaxTrees.aggregates;
import Triangle.AbstractSyntaxTrees.Expressions.Expression; import triangle.abstractSyntaxTrees.expressions.Expression;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Visitors.RecordAggregateVisitor; import triangle.abstractSyntaxTrees.visitors.RecordAggregateVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class MultipleRecordAggregate extends RecordAggregate { public class MultipleRecordAggregate extends RecordAggregate {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Aggregates; package triangle.abstractSyntaxTrees.aggregates;
import Triangle.AbstractSyntaxTrees.AbstractSyntaxTree; import triangle.abstractSyntaxTrees.AbstractSyntaxTree;
import Triangle.AbstractSyntaxTrees.Types.FieldTypeDenoter; import triangle.abstractSyntaxTrees.types.FieldTypeDenoter;
import Triangle.AbstractSyntaxTrees.Visitors.RecordAggregateVisitor; import triangle.abstractSyntaxTrees.visitors.RecordAggregateVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public abstract class RecordAggregate extends AbstractSyntaxTree { public abstract class RecordAggregate extends AbstractSyntaxTree {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Aggregates; package triangle.abstractSyntaxTrees.aggregates;
import Triangle.AbstractSyntaxTrees.Expressions.Expression; import triangle.abstractSyntaxTrees.expressions.Expression;
import Triangle.AbstractSyntaxTrees.Visitors.ArrayAggregateVisitor; import triangle.abstractSyntaxTrees.visitors.ArrayAggregateVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class SingleArrayAggregate extends ArrayAggregate { public class SingleArrayAggregate extends ArrayAggregate {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Aggregates; package triangle.abstractSyntaxTrees.aggregates;
import Triangle.AbstractSyntaxTrees.Expressions.Expression; import triangle.abstractSyntaxTrees.expressions.Expression;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Visitors.RecordAggregateVisitor; import triangle.abstractSyntaxTrees.visitors.RecordAggregateVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class SingleRecordAggregate extends RecordAggregate { public class SingleRecordAggregate extends RecordAggregate {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Commands; package triangle.abstractSyntaxTrees.commands;
import Triangle.AbstractSyntaxTrees.Expressions.Expression; import triangle.abstractSyntaxTrees.expressions.Expression;
import Triangle.AbstractSyntaxTrees.Visitors.CommandVisitor; import triangle.abstractSyntaxTrees.visitors.CommandVisitor;
import Triangle.AbstractSyntaxTrees.Vnames.Vname; import triangle.abstractSyntaxTrees.vnames.Vname;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class AssignCommand extends Command { public class AssignCommand extends Command {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Commands; package triangle.abstractSyntaxTrees.commands;
import Triangle.AbstractSyntaxTrees.Actuals.ActualParameterSequence; import triangle.abstractSyntaxTrees.actuals.ActualParameterSequence;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Visitors.CommandVisitor; import triangle.abstractSyntaxTrees.visitors.CommandVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class CallCommand extends Command { public class CallCommand extends Command {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Commands; package triangle.abstractSyntaxTrees.commands;
import Triangle.AbstractSyntaxTrees.AbstractSyntaxTree; import triangle.abstractSyntaxTrees.AbstractSyntaxTree;
import Triangle.AbstractSyntaxTrees.Visitors.CommandVisitor; import triangle.abstractSyntaxTrees.visitors.CommandVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public abstract class Command extends AbstractSyntaxTree { public abstract class Command extends AbstractSyntaxTree {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Commands; package triangle.abstractSyntaxTrees.commands;
import Triangle.AbstractSyntaxTrees.Visitors.CommandVisitor; import triangle.abstractSyntaxTrees.visitors.CommandVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class EmptyCommand extends Command { public class EmptyCommand extends Command {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Commands; package triangle.abstractSyntaxTrees.commands;
import Triangle.AbstractSyntaxTrees.Expressions.Expression; import triangle.abstractSyntaxTrees.expressions.Expression;
import Triangle.AbstractSyntaxTrees.Visitors.CommandVisitor; import triangle.abstractSyntaxTrees.visitors.CommandVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class IfCommand extends Command { public class IfCommand extends Command {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Commands; package triangle.abstractSyntaxTrees.commands;
import Triangle.AbstractSyntaxTrees.Declarations.Declaration; import triangle.abstractSyntaxTrees.declarations.Declaration;
import Triangle.AbstractSyntaxTrees.Visitors.CommandVisitor; import triangle.abstractSyntaxTrees.visitors.CommandVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class LetCommand extends Command { public class LetCommand extends Command {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Commands; package triangle.abstractSyntaxTrees.commands;
import Triangle.AbstractSyntaxTrees.Visitors.CommandVisitor; import triangle.abstractSyntaxTrees.visitors.CommandVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class SequentialCommand extends Command { public class SequentialCommand extends Command {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Commands; package triangle.abstractSyntaxTrees.commands;
import Triangle.AbstractSyntaxTrees.Expressions.Expression; import triangle.abstractSyntaxTrees.expressions.Expression;
import Triangle.AbstractSyntaxTrees.Visitors.CommandVisitor; import triangle.abstractSyntaxTrees.visitors.CommandVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class WhileCommand extends Command { public class WhileCommand extends Command {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Declarations; package triangle.abstractSyntaxTrees.declarations;
import Triangle.AbstractSyntaxTrees.Terminals.Operator; import triangle.abstractSyntaxTrees.terminals.Operator;
import Triangle.AbstractSyntaxTrees.Types.TypeDenoter; import triangle.abstractSyntaxTrees.types.TypeDenoter;
import Triangle.AbstractSyntaxTrees.Visitors.DeclarationVisitor; import triangle.abstractSyntaxTrees.visitors.DeclarationVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class BinaryOperatorDeclaration extends Declaration { public class BinaryOperatorDeclaration extends Declaration {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Declarations; package triangle.abstractSyntaxTrees.declarations;
import Triangle.AbstractSyntaxTrees.Expressions.Expression; import triangle.abstractSyntaxTrees.expressions.Expression;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Visitors.DeclarationVisitor; import triangle.abstractSyntaxTrees.visitors.DeclarationVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class ConstDeclaration extends Declaration { public class ConstDeclaration extends Declaration {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Declarations; package triangle.abstractSyntaxTrees.declarations;
import Triangle.AbstractSyntaxTrees.AbstractSyntaxTree; import triangle.abstractSyntaxTrees.AbstractSyntaxTree;
import Triangle.AbstractSyntaxTrees.Visitors.DeclarationVisitor; import triangle.abstractSyntaxTrees.visitors.DeclarationVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public abstract class Declaration extends AbstractSyntaxTree { public abstract class Declaration extends AbstractSyntaxTree {

@ -12,14 +12,14 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Declarations; package triangle.abstractSyntaxTrees.declarations;
import Triangle.AbstractSyntaxTrees.Expressions.Expression; import triangle.abstractSyntaxTrees.expressions.Expression;
import Triangle.AbstractSyntaxTrees.Formals.FormalParameterSequence; import triangle.abstractSyntaxTrees.formals.FormalParameterSequence;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Types.TypeDenoter; import triangle.abstractSyntaxTrees.types.TypeDenoter;
import Triangle.AbstractSyntaxTrees.Visitors.DeclarationVisitor; import triangle.abstractSyntaxTrees.visitors.DeclarationVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class FuncDeclaration extends Declaration { public class FuncDeclaration extends Declaration {

@ -12,13 +12,13 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Declarations; package triangle.abstractSyntaxTrees.declarations;
import Triangle.AbstractSyntaxTrees.Commands.Command; import triangle.abstractSyntaxTrees.commands.Command;
import Triangle.AbstractSyntaxTrees.Formals.FormalParameterSequence; import triangle.abstractSyntaxTrees.formals.FormalParameterSequence;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Visitors.DeclarationVisitor; import triangle.abstractSyntaxTrees.visitors.DeclarationVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class ProcDeclaration extends Declaration { public class ProcDeclaration extends Declaration {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Declarations; package triangle.abstractSyntaxTrees.declarations;
import Triangle.AbstractSyntaxTrees.Visitors.DeclarationVisitor; import triangle.abstractSyntaxTrees.visitors.DeclarationVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class SequentialDeclaration extends Declaration { public class SequentialDeclaration extends Declaration {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Declarations; package triangle.abstractSyntaxTrees.declarations;
import Triangle.AbstractSyntaxTrees.Terminals.Operator; import triangle.abstractSyntaxTrees.terminals.Operator;
import Triangle.AbstractSyntaxTrees.Types.TypeDenoter; import triangle.abstractSyntaxTrees.types.TypeDenoter;
import Triangle.AbstractSyntaxTrees.Visitors.DeclarationVisitor; import triangle.abstractSyntaxTrees.visitors.DeclarationVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class UnaryOperatorDeclaration extends Declaration { public class UnaryOperatorDeclaration extends Declaration {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Declarations; package triangle.abstractSyntaxTrees.declarations;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Types.TypeDenoter; import triangle.abstractSyntaxTrees.types.TypeDenoter;
import Triangle.AbstractSyntaxTrees.Visitors.DeclarationVisitor; import triangle.abstractSyntaxTrees.visitors.DeclarationVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class VarDeclaration extends Declaration { public class VarDeclaration extends Declaration {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Expressions; package triangle.abstractSyntaxTrees.expressions;
import Triangle.AbstractSyntaxTrees.Aggregates.ArrayAggregate; import triangle.abstractSyntaxTrees.aggregates.ArrayAggregate;
import Triangle.AbstractSyntaxTrees.Visitors.ExpressionVisitor; import triangle.abstractSyntaxTrees.visitors.ExpressionVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class ArrayExpression extends Expression { public class ArrayExpression extends Expression {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Expressions; package triangle.abstractSyntaxTrees.expressions;
import Triangle.AbstractSyntaxTrees.Terminals.Operator; import triangle.abstractSyntaxTrees.terminals.Operator;
import Triangle.AbstractSyntaxTrees.Visitors.ExpressionVisitor; import triangle.abstractSyntaxTrees.visitors.ExpressionVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class BinaryExpression extends Expression { public class BinaryExpression extends Expression {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Expressions; package triangle.abstractSyntaxTrees.expressions;
import Triangle.AbstractSyntaxTrees.Actuals.ActualParameterSequence; import triangle.abstractSyntaxTrees.actuals.ActualParameterSequence;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Visitors.ExpressionVisitor; import triangle.abstractSyntaxTrees.visitors.ExpressionVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class CallExpression extends Expression { public class CallExpression extends Expression {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Expressions; package triangle.abstractSyntaxTrees.expressions;
import Triangle.AbstractSyntaxTrees.Terminals.CharacterLiteral; import triangle.abstractSyntaxTrees.terminals.CharacterLiteral;
import Triangle.AbstractSyntaxTrees.Visitors.ExpressionVisitor; import triangle.abstractSyntaxTrees.visitors.ExpressionVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class CharacterExpression extends Expression { public class CharacterExpression extends Expression {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Expressions; package triangle.abstractSyntaxTrees.expressions;
import Triangle.AbstractSyntaxTrees.Visitors.ExpressionVisitor; import triangle.abstractSyntaxTrees.visitors.ExpressionVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class EmptyExpression extends Expression { public class EmptyExpression extends Expression {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Expressions; package triangle.abstractSyntaxTrees.expressions;
import Triangle.AbstractSyntaxTrees.AbstractSyntaxTree; import triangle.abstractSyntaxTrees.AbstractSyntaxTree;
import Triangle.AbstractSyntaxTrees.Types.TypeDenoter; import triangle.abstractSyntaxTrees.types.TypeDenoter;
import Triangle.AbstractSyntaxTrees.Visitors.ExpressionVisitor; import triangle.abstractSyntaxTrees.visitors.ExpressionVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public abstract class Expression extends AbstractSyntaxTree { public abstract class Expression extends AbstractSyntaxTree {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Expressions; package triangle.abstractSyntaxTrees.expressions;
import Triangle.AbstractSyntaxTrees.Visitors.ExpressionVisitor; import triangle.abstractSyntaxTrees.visitors.ExpressionVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class IfExpression extends Expression { public class IfExpression extends Expression {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Expressions; package triangle.abstractSyntaxTrees.expressions;
import Triangle.AbstractSyntaxTrees.Terminals.IntegerLiteral; import triangle.abstractSyntaxTrees.terminals.IntegerLiteral;
import Triangle.AbstractSyntaxTrees.Visitors.ExpressionVisitor; import triangle.abstractSyntaxTrees.visitors.ExpressionVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class IntegerExpression extends Expression { public class IntegerExpression extends Expression {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Expressions; package triangle.abstractSyntaxTrees.expressions;
import Triangle.AbstractSyntaxTrees.Declarations.Declaration; import triangle.abstractSyntaxTrees.declarations.Declaration;
import Triangle.AbstractSyntaxTrees.Visitors.ExpressionVisitor; import triangle.abstractSyntaxTrees.visitors.ExpressionVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class LetExpression extends Expression { public class LetExpression extends Expression {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Expressions; package triangle.abstractSyntaxTrees.expressions;
import Triangle.AbstractSyntaxTrees.Aggregates.RecordAggregate; import triangle.abstractSyntaxTrees.aggregates.RecordAggregate;
import Triangle.AbstractSyntaxTrees.Visitors.ExpressionVisitor; import triangle.abstractSyntaxTrees.visitors.ExpressionVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class RecordExpression extends Expression { public class RecordExpression extends Expression {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Expressions; package triangle.abstractSyntaxTrees.expressions;
import Triangle.AbstractSyntaxTrees.Terminals.Operator; import triangle.abstractSyntaxTrees.terminals.Operator;
import Triangle.AbstractSyntaxTrees.Visitors.ExpressionVisitor; import triangle.abstractSyntaxTrees.visitors.ExpressionVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class UnaryExpression extends Expression { public class UnaryExpression extends Expression {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Expressions; package triangle.abstractSyntaxTrees.expressions;
import Triangle.AbstractSyntaxTrees.Visitors.ExpressionVisitor; import triangle.abstractSyntaxTrees.visitors.ExpressionVisitor;
import Triangle.AbstractSyntaxTrees.Vnames.Vname; import triangle.abstractSyntaxTrees.vnames.Vname;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class VnameExpression extends Expression { public class VnameExpression extends Expression {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Formals; package triangle.abstractSyntaxTrees.formals;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Types.TypeDenoter; import triangle.abstractSyntaxTrees.types.TypeDenoter;
import Triangle.AbstractSyntaxTrees.Visitors.DeclarationVisitor; import triangle.abstractSyntaxTrees.visitors.DeclarationVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class ConstFormalParameter extends FormalParameter { public class ConstFormalParameter extends FormalParameter {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Formals; package triangle.abstractSyntaxTrees.formals;
import Triangle.AbstractSyntaxTrees.Visitors.FormalParameterSequenceVisitor; import triangle.abstractSyntaxTrees.visitors.FormalParameterSequenceVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class EmptyFormalParameterSequence extends FormalParameterSequence { public class EmptyFormalParameterSequence extends FormalParameterSequence {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Formals; package triangle.abstractSyntaxTrees.formals;
import Triangle.AbstractSyntaxTrees.Declarations.Declaration; import triangle.abstractSyntaxTrees.declarations.Declaration;
import Triangle.AbstractSyntaxTrees.Visitors.DeclarationVisitor; import triangle.abstractSyntaxTrees.visitors.DeclarationVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public abstract class FormalParameter extends Declaration { public abstract class FormalParameter extends Declaration {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Formals; package triangle.abstractSyntaxTrees.formals;
import Triangle.AbstractSyntaxTrees.AbstractSyntaxTree; import triangle.abstractSyntaxTrees.AbstractSyntaxTree;
import Triangle.AbstractSyntaxTrees.Visitors.FormalParameterSequenceVisitor; import triangle.abstractSyntaxTrees.visitors.FormalParameterSequenceVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public abstract class FormalParameterSequence extends AbstractSyntaxTree { public abstract class FormalParameterSequence extends AbstractSyntaxTree {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Formals; package triangle.abstractSyntaxTrees.formals;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Types.TypeDenoter; import triangle.abstractSyntaxTrees.types.TypeDenoter;
import Triangle.AbstractSyntaxTrees.Visitors.DeclarationVisitor; import triangle.abstractSyntaxTrees.visitors.DeclarationVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class FuncFormalParameter extends FormalParameter { public class FuncFormalParameter extends FormalParameter {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Formals; package triangle.abstractSyntaxTrees.formals;
import Triangle.AbstractSyntaxTrees.Visitors.FormalParameterSequenceVisitor; import triangle.abstractSyntaxTrees.visitors.FormalParameterSequenceVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class MultipleFormalParameterSequence extends FormalParameterSequence { public class MultipleFormalParameterSequence extends FormalParameterSequence {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Formals; package triangle.abstractSyntaxTrees.formals;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Visitors.DeclarationVisitor; import triangle.abstractSyntaxTrees.visitors.DeclarationVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class ProcFormalParameter extends FormalParameter { public class ProcFormalParameter extends FormalParameter {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Formals; package triangle.abstractSyntaxTrees.formals;
import Triangle.AbstractSyntaxTrees.Visitors.FormalParameterSequenceVisitor; import triangle.abstractSyntaxTrees.visitors.FormalParameterSequenceVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class SingleFormalParameterSequence extends FormalParameterSequence { public class SingleFormalParameterSequence extends FormalParameterSequence {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Formals; package triangle.abstractSyntaxTrees.formals;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Types.TypeDenoter; import triangle.abstractSyntaxTrees.types.TypeDenoter;
import Triangle.AbstractSyntaxTrees.Visitors.DeclarationVisitor; import triangle.abstractSyntaxTrees.visitors.DeclarationVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class VarFormalParameter extends FormalParameter { public class VarFormalParameter extends FormalParameter {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Terminals; package triangle.abstractSyntaxTrees.terminals;
import Triangle.AbstractSyntaxTrees.Visitors.LiteralVisitor; import triangle.abstractSyntaxTrees.visitors.LiteralVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class CharacterLiteral extends Terminal { public class CharacterLiteral extends Terminal {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Terminals; package triangle.abstractSyntaxTrees.terminals;
import Triangle.AbstractSyntaxTrees.AbstractSyntaxTree; import triangle.abstractSyntaxTrees.AbstractSyntaxTree;
import Triangle.AbstractSyntaxTrees.Types.TypeDenoter; import triangle.abstractSyntaxTrees.types.TypeDenoter;
import Triangle.AbstractSyntaxTrees.Visitors.IdentifierVisitor; import triangle.abstractSyntaxTrees.visitors.IdentifierVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class Identifier extends Terminal { public class Identifier extends Terminal {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Terminals; package triangle.abstractSyntaxTrees.terminals;
import Triangle.AbstractSyntaxTrees.Visitors.LiteralVisitor; import triangle.abstractSyntaxTrees.visitors.LiteralVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class IntegerLiteral extends Terminal { public class IntegerLiteral extends Terminal {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Terminals; package triangle.abstractSyntaxTrees.terminals;
import Triangle.AbstractSyntaxTrees.Declarations.Declaration; import triangle.abstractSyntaxTrees.declarations.Declaration;
import Triangle.AbstractSyntaxTrees.Visitors.OperatorVisitor; import triangle.abstractSyntaxTrees.visitors.OperatorVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class Operator extends Terminal { public class Operator extends Terminal {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Terminals; package triangle.abstractSyntaxTrees.terminals;
import Triangle.AbstractSyntaxTrees.AbstractSyntaxTree; import triangle.abstractSyntaxTrees.AbstractSyntaxTree;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public abstract class Terminal extends AbstractSyntaxTree { public abstract class Terminal extends AbstractSyntaxTree {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Types; package triangle.abstractSyntaxTrees.types;
import Triangle.AbstractSyntaxTrees.Visitors.TypeDenoterVisitor; import triangle.abstractSyntaxTrees.visitors.TypeDenoterVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class AnyTypeDenoter extends TypeDenoter { public class AnyTypeDenoter extends TypeDenoter {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Types; package triangle.abstractSyntaxTrees.types;
import Triangle.AbstractSyntaxTrees.Terminals.IntegerLiteral; import triangle.abstractSyntaxTrees.terminals.IntegerLiteral;
import Triangle.AbstractSyntaxTrees.Visitors.TypeDenoterVisitor; import triangle.abstractSyntaxTrees.visitors.TypeDenoterVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class ArrayTypeDenoter extends TypeDenoter { public class ArrayTypeDenoter extends TypeDenoter {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Types; package triangle.abstractSyntaxTrees.types;
import Triangle.AbstractSyntaxTrees.Visitors.TypeDenoterVisitor; import triangle.abstractSyntaxTrees.visitors.TypeDenoterVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class BoolTypeDenoter extends TypeDenoter { public class BoolTypeDenoter extends TypeDenoter {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Types; package triangle.abstractSyntaxTrees.types;
import Triangle.AbstractSyntaxTrees.Visitors.TypeDenoterVisitor; import triangle.abstractSyntaxTrees.visitors.TypeDenoterVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class CharTypeDenoter extends TypeDenoter { public class CharTypeDenoter extends TypeDenoter {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Types; package triangle.abstractSyntaxTrees.types;
import Triangle.AbstractSyntaxTrees.Visitors.TypeDenoterVisitor; import triangle.abstractSyntaxTrees.visitors.TypeDenoterVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class ErrorTypeDenoter extends TypeDenoter { public class ErrorTypeDenoter extends TypeDenoter {

@ -12,9 +12,9 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Types; package triangle.abstractSyntaxTrees.types;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public abstract class FieldTypeDenoter extends TypeDenoter { public abstract class FieldTypeDenoter extends TypeDenoter {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Types; package triangle.abstractSyntaxTrees.types;
import Triangle.AbstractSyntaxTrees.Visitors.TypeDenoterVisitor; import triangle.abstractSyntaxTrees.visitors.TypeDenoterVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class IntTypeDenoter extends TypeDenoter { public class IntTypeDenoter extends TypeDenoter {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Types; package triangle.abstractSyntaxTrees.types;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Visitors.TypeDenoterVisitor; import triangle.abstractSyntaxTrees.visitors.TypeDenoterVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class MultipleFieldTypeDenoter extends FieldTypeDenoter { public class MultipleFieldTypeDenoter extends FieldTypeDenoter {

@ -12,10 +12,10 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Types; package triangle.abstractSyntaxTrees.types;
import Triangle.AbstractSyntaxTrees.Visitors.TypeDenoterVisitor; import triangle.abstractSyntaxTrees.visitors.TypeDenoterVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class RecordTypeDenoter extends TypeDenoter { public class RecordTypeDenoter extends TypeDenoter {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Types; package triangle.abstractSyntaxTrees.types;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Visitors.TypeDenoterVisitor; import triangle.abstractSyntaxTrees.visitors.TypeDenoterVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class SimpleTypeDenoter extends TypeDenoter { public class SimpleTypeDenoter extends TypeDenoter {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Types; package triangle.abstractSyntaxTrees.types;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Visitors.TypeDenoterVisitor; import triangle.abstractSyntaxTrees.visitors.TypeDenoterVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class SingleFieldTypeDenoter extends FieldTypeDenoter { public class SingleFieldTypeDenoter extends FieldTypeDenoter {

@ -12,12 +12,12 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Types; package triangle.abstractSyntaxTrees.types;
import Triangle.AbstractSyntaxTrees.Declarations.Declaration; import triangle.abstractSyntaxTrees.declarations.Declaration;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
import Triangle.AbstractSyntaxTrees.Visitors.DeclarationVisitor; import triangle.abstractSyntaxTrees.visitors.DeclarationVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public class TypeDeclaration extends Declaration { public class TypeDeclaration extends Declaration {

@ -12,11 +12,11 @@
* of the authors. * of the authors.
*/ */
package Triangle.AbstractSyntaxTrees.Types; package triangle.abstractSyntaxTrees.types;
import Triangle.AbstractSyntaxTrees.AbstractSyntaxTree; import triangle.abstractSyntaxTrees.AbstractSyntaxTree;
import Triangle.AbstractSyntaxTrees.Visitors.TypeDenoterVisitor; import triangle.abstractSyntaxTrees.visitors.TypeDenoterVisitor;
import Triangle.SyntacticAnalyzer.SourcePosition; import triangle.syntacticAnalyzer.SourcePosition;
public abstract class TypeDenoter extends AbstractSyntaxTree { public abstract class TypeDenoter extends AbstractSyntaxTree {

@ -1,8 +1,8 @@
package Triangle.AbstractSyntaxTrees.Visitors; package triangle.abstractSyntaxTrees.visitors;
import Triangle.AbstractSyntaxTrees.Actuals.EmptyActualParameterSequence; import triangle.abstractSyntaxTrees.actuals.EmptyActualParameterSequence;
import Triangle.AbstractSyntaxTrees.Actuals.MultipleActualParameterSequence; import triangle.abstractSyntaxTrees.actuals.MultipleActualParameterSequence;
import Triangle.AbstractSyntaxTrees.Actuals.SingleActualParameterSequence; import triangle.abstractSyntaxTrees.actuals.SingleActualParameterSequence;
public interface ActualParameterSequenceVisitor<TArg, TResult> { public interface ActualParameterSequenceVisitor<TArg, TResult> {

@ -1,9 +1,9 @@
package Triangle.AbstractSyntaxTrees.Visitors; package triangle.abstractSyntaxTrees.visitors;
import Triangle.AbstractSyntaxTrees.Actuals.ConstActualParameter; import triangle.abstractSyntaxTrees.actuals.ConstActualParameter;
import Triangle.AbstractSyntaxTrees.Actuals.FuncActualParameter; import triangle.abstractSyntaxTrees.actuals.FuncActualParameter;
import Triangle.AbstractSyntaxTrees.Actuals.ProcActualParameter; import triangle.abstractSyntaxTrees.actuals.ProcActualParameter;
import Triangle.AbstractSyntaxTrees.Actuals.VarActualParameter; import triangle.abstractSyntaxTrees.actuals.VarActualParameter;
public interface ActualParameterVisitor<TArg, TResult> { public interface ActualParameterVisitor<TArg, TResult> {

@ -1,7 +1,7 @@
package Triangle.AbstractSyntaxTrees.Visitors; package triangle.abstractSyntaxTrees.visitors;
import Triangle.AbstractSyntaxTrees.Aggregates.MultipleArrayAggregate; import triangle.abstractSyntaxTrees.aggregates.MultipleArrayAggregate;
import Triangle.AbstractSyntaxTrees.Aggregates.SingleArrayAggregate; import triangle.abstractSyntaxTrees.aggregates.SingleArrayAggregate;
public interface ArrayAggregateVisitor<TArg, TResult> { public interface ArrayAggregateVisitor<TArg, TResult> {

@ -0,0 +1,27 @@
package triangle.abstractSyntaxTrees.visitors;
import triangle.abstractSyntaxTrees.commands.AssignCommand;
import triangle.abstractSyntaxTrees.commands.CallCommand;
import triangle.abstractSyntaxTrees.commands.EmptyCommand;
import triangle.abstractSyntaxTrees.commands.IfCommand;
import triangle.abstractSyntaxTrees.commands.LetCommand;
import triangle.abstractSyntaxTrees.commands.SequentialCommand;
import triangle.abstractSyntaxTrees.commands.WhileCommand;
public interface CommandVisitor<TArg, TResult> {
TResult visitAssignCommand(AssignCommand ast, TArg arg);
TResult visitCallCommand(CallCommand ast, TArg arg);
TResult visitEmptyCommand(EmptyCommand ast, TArg arg);
TResult visitIfCommand(IfCommand ast, TArg arg);
TResult visitLetCommand(LetCommand ast, TArg arg);
TResult visitSequentialCommand(SequentialCommand ast, TArg arg);
TResult visitWhileCommand(WhileCommand ast, TArg arg);
}

@ -1,13 +1,13 @@
package Triangle.AbstractSyntaxTrees.Visitors; package triangle.abstractSyntaxTrees.visitors;
import Triangle.AbstractSyntaxTrees.Declarations.BinaryOperatorDeclaration; import triangle.abstractSyntaxTrees.declarations.BinaryOperatorDeclaration;
import Triangle.AbstractSyntaxTrees.Declarations.ConstDeclaration; import triangle.abstractSyntaxTrees.declarations.ConstDeclaration;
import Triangle.AbstractSyntaxTrees.Declarations.FuncDeclaration; import triangle.abstractSyntaxTrees.declarations.FuncDeclaration;
import Triangle.AbstractSyntaxTrees.Declarations.ProcDeclaration; import triangle.abstractSyntaxTrees.declarations.ProcDeclaration;
import Triangle.AbstractSyntaxTrees.Declarations.SequentialDeclaration; import triangle.abstractSyntaxTrees.declarations.SequentialDeclaration;
import Triangle.AbstractSyntaxTrees.Declarations.UnaryOperatorDeclaration; import triangle.abstractSyntaxTrees.declarations.UnaryOperatorDeclaration;
import Triangle.AbstractSyntaxTrees.Declarations.VarDeclaration; import triangle.abstractSyntaxTrees.declarations.VarDeclaration;
import Triangle.AbstractSyntaxTrees.Types.TypeDeclaration; import triangle.abstractSyntaxTrees.types.TypeDeclaration;
public interface DeclarationVisitor<TArg, TResult> extends FormalParameterVisitor<TArg, TResult> { public interface DeclarationVisitor<TArg, TResult> extends FormalParameterVisitor<TArg, TResult> {

@ -1,16 +1,16 @@
package Triangle.AbstractSyntaxTrees.Visitors; package triangle.abstractSyntaxTrees.visitors;
import Triangle.AbstractSyntaxTrees.Expressions.ArrayExpression; import triangle.abstractSyntaxTrees.expressions.ArrayExpression;
import Triangle.AbstractSyntaxTrees.Expressions.BinaryExpression; import triangle.abstractSyntaxTrees.expressions.BinaryExpression;
import Triangle.AbstractSyntaxTrees.Expressions.CallExpression; import triangle.abstractSyntaxTrees.expressions.CallExpression;
import Triangle.AbstractSyntaxTrees.Expressions.CharacterExpression; import triangle.abstractSyntaxTrees.expressions.CharacterExpression;
import Triangle.AbstractSyntaxTrees.Expressions.EmptyExpression; import triangle.abstractSyntaxTrees.expressions.EmptyExpression;
import Triangle.AbstractSyntaxTrees.Expressions.IfExpression; import triangle.abstractSyntaxTrees.expressions.IfExpression;
import Triangle.AbstractSyntaxTrees.Expressions.IntegerExpression; import triangle.abstractSyntaxTrees.expressions.IntegerExpression;
import Triangle.AbstractSyntaxTrees.Expressions.LetExpression; import triangle.abstractSyntaxTrees.expressions.LetExpression;
import Triangle.AbstractSyntaxTrees.Expressions.RecordExpression; import triangle.abstractSyntaxTrees.expressions.RecordExpression;
import Triangle.AbstractSyntaxTrees.Expressions.UnaryExpression; import triangle.abstractSyntaxTrees.expressions.UnaryExpression;
import Triangle.AbstractSyntaxTrees.Expressions.VnameExpression; import triangle.abstractSyntaxTrees.expressions.VnameExpression;
public interface ExpressionVisitor<TArg, TResult> { public interface ExpressionVisitor<TArg, TResult> {

@ -1,7 +1,7 @@
package Triangle.AbstractSyntaxTrees.Visitors; package triangle.abstractSyntaxTrees.visitors;
import Triangle.AbstractSyntaxTrees.Types.MultipleFieldTypeDenoter; import triangle.abstractSyntaxTrees.types.MultipleFieldTypeDenoter;
import Triangle.AbstractSyntaxTrees.Types.SingleFieldTypeDenoter; import triangle.abstractSyntaxTrees.types.SingleFieldTypeDenoter;
public interface FieldTypeDenoterVisitor<TArg, TResult> { public interface FieldTypeDenoterVisitor<TArg, TResult> {

@ -1,8 +1,8 @@
package Triangle.AbstractSyntaxTrees.Visitors; package triangle.abstractSyntaxTrees.visitors;
import Triangle.AbstractSyntaxTrees.Formals.EmptyFormalParameterSequence; import triangle.abstractSyntaxTrees.formals.EmptyFormalParameterSequence;
import Triangle.AbstractSyntaxTrees.Formals.MultipleFormalParameterSequence; import triangle.abstractSyntaxTrees.formals.MultipleFormalParameterSequence;
import Triangle.AbstractSyntaxTrees.Formals.SingleFormalParameterSequence; import triangle.abstractSyntaxTrees.formals.SingleFormalParameterSequence;
public interface FormalParameterSequenceVisitor<TArg, TResult> { public interface FormalParameterSequenceVisitor<TArg, TResult> {

@ -1,9 +1,9 @@
package Triangle.AbstractSyntaxTrees.Visitors; package triangle.abstractSyntaxTrees.visitors;
import Triangle.AbstractSyntaxTrees.Formals.ConstFormalParameter; import triangle.abstractSyntaxTrees.formals.ConstFormalParameter;
import Triangle.AbstractSyntaxTrees.Formals.FuncFormalParameter; import triangle.abstractSyntaxTrees.formals.FuncFormalParameter;
import Triangle.AbstractSyntaxTrees.Formals.ProcFormalParameter; import triangle.abstractSyntaxTrees.formals.ProcFormalParameter;
import Triangle.AbstractSyntaxTrees.Formals.VarFormalParameter; import triangle.abstractSyntaxTrees.formals.VarFormalParameter;
public interface FormalParameterVisitor<TArg, TResult> { public interface FormalParameterVisitor<TArg, TResult> {

@ -1,6 +1,6 @@
package Triangle.AbstractSyntaxTrees.Visitors; package triangle.abstractSyntaxTrees.visitors;
import Triangle.AbstractSyntaxTrees.Terminals.Identifier; import triangle.abstractSyntaxTrees.terminals.Identifier;
public interface IdentifierVisitor<TArg, TResult> { public interface IdentifierVisitor<TArg, TResult> {

@ -1,7 +1,7 @@
package Triangle.AbstractSyntaxTrees.Visitors; package triangle.abstractSyntaxTrees.visitors;
import Triangle.AbstractSyntaxTrees.Terminals.CharacterLiteral; import triangle.abstractSyntaxTrees.terminals.CharacterLiteral;
import Triangle.AbstractSyntaxTrees.Terminals.IntegerLiteral; import triangle.abstractSyntaxTrees.terminals.IntegerLiteral;
public interface LiteralVisitor<TArg, TResult> { public interface LiteralVisitor<TArg, TResult> {

@ -1,6 +1,6 @@
package Triangle.AbstractSyntaxTrees.Visitors; package triangle.abstractSyntaxTrees.visitors;
import Triangle.AbstractSyntaxTrees.Terminals.Operator; import triangle.abstractSyntaxTrees.terminals.Operator;
public interface OperatorVisitor<TArg, TResult> { public interface OperatorVisitor<TArg, TResult> {

@ -1,6 +1,6 @@
package Triangle.AbstractSyntaxTrees.Visitors; package triangle.abstractSyntaxTrees.visitors;
import Triangle.AbstractSyntaxTrees.Program; import triangle.abstractSyntaxTrees.Program;
public interface ProgramVisitor<TArg, TResult> { public interface ProgramVisitor<TArg, TResult> {

@ -1,7 +1,7 @@
package Triangle.AbstractSyntaxTrees.Visitors; package triangle.abstractSyntaxTrees.visitors;
import Triangle.AbstractSyntaxTrees.Aggregates.MultipleRecordAggregate; import triangle.abstractSyntaxTrees.aggregates.MultipleRecordAggregate;
import Triangle.AbstractSyntaxTrees.Aggregates.SingleRecordAggregate; import triangle.abstractSyntaxTrees.aggregates.SingleRecordAggregate;
public interface RecordAggregateVisitor<TArg, TResult> { public interface RecordAggregateVisitor<TArg, TResult> {

@ -1,13 +1,13 @@
package Triangle.AbstractSyntaxTrees.Visitors; package triangle.abstractSyntaxTrees.visitors;
import Triangle.AbstractSyntaxTrees.Types.AnyTypeDenoter; import triangle.abstractSyntaxTrees.types.AnyTypeDenoter;
import Triangle.AbstractSyntaxTrees.Types.ArrayTypeDenoter; import triangle.abstractSyntaxTrees.types.ArrayTypeDenoter;
import Triangle.AbstractSyntaxTrees.Types.BoolTypeDenoter; import triangle.abstractSyntaxTrees.types.BoolTypeDenoter;
import Triangle.AbstractSyntaxTrees.Types.CharTypeDenoter; import triangle.abstractSyntaxTrees.types.CharTypeDenoter;
import Triangle.AbstractSyntaxTrees.Types.ErrorTypeDenoter; import triangle.abstractSyntaxTrees.types.ErrorTypeDenoter;
import Triangle.AbstractSyntaxTrees.Types.IntTypeDenoter; import triangle.abstractSyntaxTrees.types.IntTypeDenoter;
import Triangle.AbstractSyntaxTrees.Types.RecordTypeDenoter; import triangle.abstractSyntaxTrees.types.RecordTypeDenoter;
import Triangle.AbstractSyntaxTrees.Types.SimpleTypeDenoter; import triangle.abstractSyntaxTrees.types.SimpleTypeDenoter;
public interface TypeDenoterVisitor<TArg, TResult> extends FieldTypeDenoterVisitor<TArg, TResult> { public interface TypeDenoterVisitor<TArg, TResult> extends FieldTypeDenoterVisitor<TArg, TResult> {

@ -1,8 +1,8 @@
package Triangle.AbstractSyntaxTrees.Visitors; package triangle.abstractSyntaxTrees.visitors;
import Triangle.AbstractSyntaxTrees.Vnames.DotVname; import triangle.abstractSyntaxTrees.vnames.DotVname;
import Triangle.AbstractSyntaxTrees.Vnames.SimpleVname; import triangle.abstractSyntaxTrees.vnames.SimpleVname;
import Triangle.AbstractSyntaxTrees.Vnames.SubscriptVname; import triangle.abstractSyntaxTrees.vnames.SubscriptVname;
public interface VnameVisitor<TArg, TResult> { public interface VnameVisitor<TArg, TResult> {

Some files were not shown because too many files have changed in this diff Show More