Files
2023-05-03 15:31:00 +02:00

10 lines
263 B
Plaintext

import javascript
class CommaToken extends PunctuatorToken {
CommaToken() { this.getValue() = "," }
}
query predicate test_query2(CommaToken comma, string res) {
comma.getNextToken() instanceof CommaToken and res = "Omitted array elements are bad style."
}