refactor: style fixes in parser
Co-authored-by: gc1523
This commit is contained in:
parent
8b64f2e352
commit
bd779931b6
@ -30,7 +30,8 @@ object parser {
|
|||||||
labelWithType(t).explain(
|
labelWithType(t).explain(
|
||||||
"a valid expression can start with: null, literals, identifiers, unary operators, or parentheses. " +
|
"a valid expression can start with: null, literals, identifiers, unary operators, or parentheses. " +
|
||||||
"Expressions can also contain array indexing and binary operators. " +
|
"Expressions can also contain array indexing and binary operators. " +
|
||||||
"Pair extraction is not allowed in expressions, only in assignments.")
|
"Pair extraction is not allowed in expressions, only in assignments."
|
||||||
|
)
|
||||||
case _ => labelWithType(t)
|
case _ => labelWithType(t)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user