Example #1
0
 def test_nullLiteral(self):
     g = JavaGrammar()
     self._parseStringTest(g.literal(), 'null', Schema.NullLiteral())
Example #2
0
 def nullLiteral(self):
     return Keyword(Keywords.nullKeyword).action(
         lambda input, begin, end, x, bindings: Schema.NullLiteral())