(n *parser.Expr_binaryContext)
| 774 | } |
| 775 | |
| 776 | func (c *cc) convertBinaryNode(n *parser.Expr_binaryContext) ast.Node { |
| 777 | return &ast.A_Expr{ |
| 778 | Name: &ast.List{ |
| 779 | Items: []ast.Node{ |
| 780 | &ast.String{Str: n.GetChild(1).(antlr.TerminalNode).GetText()}, |
| 781 | }, |
| 782 | }, |
| 783 | Lexpr: c.convert(n.Expr(0)), |
| 784 | Rexpr: c.convert(n.Expr(1)), |
| 785 | } |
| 786 | } |
| 787 | |
| 788 | func (c *cc) convertBoolNode(n *parser.Expr_boolContext) ast.Node { |
| 789 | var op ast.BoolExprType |