Skip to content

Commit bca4b48

Browse files
akoclaude
andcommitted
Merge PR #35: fix batch of reported issues (#18, #19, #23, #25, #26, #27, #28)
Regenerated ANTLR parser from merged grammar to resolve conflicts in auto-generated files. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2 parents b83fa26 + 2bf557c commit bca4b48

35 files changed

+7754
-6922
lines changed

mdl/ast/ast_expression.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,16 @@ type QualifiedNameExpr struct {
108108

109109
func (e *QualifiedNameExpr) isExpression() {}
110110

111+
// IfThenElseExpr represents an inline if-then-else expression:
112+
// if condition then trueExpr else falseExpr
113+
type IfThenElseExpr struct {
114+
Condition Expression // Condition expression
115+
ThenExpr Expression // Expression when condition is true
116+
ElseExpr Expression // Expression when condition is false
117+
}
118+
119+
func (e *IfThenElseExpr) isExpression() {}
120+
111121
// ============================================================================
112122
// XPath-Specific Expression Types
113123
// ============================================================================

mdl/catalog/builder_microflows.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,8 @@ func getDataTypeName(dt microflows.DataType) string {
318318
return "String"
319319
case *microflows.DateTimeType:
320320
return "DateTime"
321+
case *microflows.DateType:
322+
return "Date"
321323
case *microflows.ObjectType:
322324
return "Object:" + t.EntityQualifiedName
323325
case *microflows.ListType:

0 commit comments

Comments
 (0)