| 180 | return self.val |
| 181 | |
| 182 | class ValNode(ASTNode): |
| 183 | def __init__(self, val, data_type, fields): |
| 184 | super().__init__('VAL', val, data_type, fields) |
| 185 | |
| 186 | def textual_form_core(self): |
| 187 | return self.val |
| 188 | |
| 189 | def _consume_a_node(tokens, cursor, data_type): |
| 190 | is_root = cursor == 0 |