GetTextIfPresent visits the node
(token antlr.Token)
| 1664 | |
| 1665 | // GetTextIfPresent visits the node |
| 1666 | func (v *ASTBuilder) GetTextIfPresent(token antlr.Token) string { |
| 1667 | var text string |
| 1668 | if token != nil { |
| 1669 | text = token.GetText() |
| 1670 | } |
| 1671 | return text |
| 1672 | } |
| 1673 | |
| 1674 | // isDistinct check if DISTINCT quantifier is set |
| 1675 | func (v *ASTBuilder) isDistinct(setQuantifier antlrgen.ISetQuantifierContext) bool { |