Files
2019-03-05 08:14:47 +00:00

10 lines
258 B
Plaintext

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