VisitConstraintsBlock visits a parse tree produced by MangleParser#constraintsBlock.
(ctx *gen.ConstraintsBlockContext)
| 319 | |
| 320 | // VisitConstraintsBlock visits a parse tree produced by MangleParser#constraintsBlock. |
| 321 | func (p Parser) VisitConstraintsBlock(ctx *gen.ConstraintsBlockContext) any { |
| 322 | atoms := p.Visit(ctx.Atoms()).([]ast.Atom) |
| 323 | return ast.NewInclusionConstraint(atoms) |
| 324 | } |
| 325 | |
| 326 | // VisitClause visits a parse tree produced by MangleParser#clause. |
| 327 | func (p Parser) VisitClause(ctx *gen.ClauseContext) any { |
no test coverage detected