summaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-12-05 20:16:42 +0000
committerMichael Williamson <mike@zwobble.org>2026-12-05 20:16:42 +0000
commit7d52459a8b62ed5bed2bbfcd830a0178ba6ca4c6 (patch)
tree3a3c6982e5c4ffe3beb8f83ca4555ee8c74287e1 /src/main/java/org
parent2a5290cb52b6d95f9461e4bcdfffc4c56c573361 (diff)
Clarify method ordering
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/zwobble/hobgoblin/compiler/output/lang/sql/SqlWriter.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/org/zwobble/hobgoblin/compiler/output/lang/sql/SqlWriter.java b/src/main/java/org/zwobble/hobgoblin/compiler/output/lang/sql/SqlWriter.java
index 6fb2813..de421fc 100644
--- a/src/main/java/org/zwobble/hobgoblin/compiler/output/lang/sql/SqlWriter.java
+++ b/src/main/java/org/zwobble/hobgoblin/compiler/output/lang/sql/SqlWriter.java
@@ -197,18 +197,18 @@ public class SqlWriter {
this.writeExpression(binaryOperation.right());
}
- private void writeColumnReference(SqlColumnReference columnReference) throws IOException {
- this.writeIdentifier(columnReference.relationName());
- this.writer.write(".");
- this.writeIdentifier(columnReference.columnName());
- }
-
private void writeBinaryOperator(SqlBinaryOperator operator) throws IOException {
this.writer.write(switch (operator) {
case EQUALS -> "==";
});
}
+ private void writeColumnReference(SqlColumnReference columnReference) throws IOException {
+ this.writeIdentifier(columnReference.relationName());
+ this.writer.write(".");
+ this.writeIdentifier(columnReference.columnName());
+ }
+
private void writeIntLiteral(SqlIntLiteral intLiteral) throws IOException {
this.writer.write(Long.toString(intLiteral.value()));
}