Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 GO-2024-3107 GO-2024-3107: Stack exhaustion in Parse in go/build/constraint Changes in this version + func IsGoBuild(line string) bool + func IsPlusBuild(line string) bool + func PlusBuildLines(x Expr) ([]string, error) + type AndExpr struct + X Expr + Y Expr + func (x *AndExpr) Eval(ok func(tag string) bool) bool + func (x *AndExpr) String() string + type Expr interface + Eval func(ok func(tag string) bool) bool + String func() string + func Parse(line string) (Expr, error) + type NotExpr struct + X Expr + func (x *NotExpr) Eval(ok func(tag string) bool) bool + func (x *NotExpr) String() string + type OrExpr struct + X Expr + Y Expr + func (x *OrExpr) Eval(ok func(tag string) bool) bool + func (x *OrExpr) String() string + type SyntaxError struct + Err string + Offset int + func (e *SyntaxError) Error() string + type TagExpr struct + Tag string + func (x *TagExpr) Eval(ok func(tag string) bool) bool + func (x *TagExpr) String() string