- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 925 for mexpr (0.1 sec)
-
platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr2PluginIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/software/antlr/src/test/groovy/org/gradle/api/plugins/antlr/internal/antlr2/MetadataExtracterTest.groovy
header { package org.acme; } class TestGrammar extends Parser; options { buildAST = true; } expr: mexpr (PLUS^ mexpr)* SEMI! ; mexpr : atom (STAR^ atom)* ; atom: INT ;""" expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr2RelocationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/AntlrPluginIntegrationTest.groovy
and: file("src/main/antlr/org/acme/TestGrammar.g") << """ class TestGrammar extends Parser; options { buildAST = true; } expr: mexpr (PLUS^ mexpr)* SEMI! ; mexpr : atom (STAR^ atom)* ; atom: INT ;""" when: succeeds("generateGrammarSource") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 2.7K bytes - Viewed (0) -
src/go/build/constraint/expr.go
return andArg(x.X) + " && " + andArg(x.Y) } func andArg(x Expr) string { s := x.String() if _, ok := x.(*OrExpr); ok { s = "(" + s + ")" } return s } func and(x, y Expr) Expr { return &AndExpr{x, y} } // An OrExpr represents the expression X || Y. type OrExpr struct { X, Y Expr } func (x *OrExpr) isExpr() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 14.2K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/expr.go
} return n } // tcSlice typechecks an OSLICE or OSLICE3 node. func tcSlice(n *ir.SliceExpr) ir.Node { n.X = DefaultLit(Expr(n.X), nil) n.Low = indexlit(Expr(n.Low)) n.High = indexlit(Expr(n.High)) n.Max = indexlit(Expr(n.Max)) hasmax := n.Op().IsSlice3() l := n.X if l.Type() == nil { n.SetType(nil) return n } if l.Type().IsArray() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/expr.go
func (check *Checker) binary(x *operand, e syntax.Expr, lhs, rhs syntax.Expr, op syntax.Operator) { var y operand check.expr(nil, x, lhs) check.expr(nil, &y, rhs) if x.mode == invalid { return } if y.mode == invalid { x.mode = invalid x.expr = y.expr return } if isShift(op) { check.shift(x, &y, e, op) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0) -
src/go/types/expr.go
func (check *Checker) binary(x *operand, e ast.Expr, lhs, rhs ast.Expr, op token.Token, opPos token.Pos) { var y operand check.expr(nil, x, lhs) check.expr(nil, &y, rhs) if x.mode == invalid { return } if y.mode == invalid { x.mode = invalid x.expr = y.expr return } if isShift(op) { check.shift(x, &y, e, op) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
return n } a := ir.Copy(n).(*ir.UnaryExpr) a.X = l return walkExpr(typecheck.Expr(a), init) case ir.ODOT, ir.ODOTPTR: n := n.(*ir.SelectorExpr) l := safeExpr(n.X, init) if l == n.X { return n } a := ir.Copy(n).(*ir.SelectorExpr) a.X = l return walkExpr(typecheck.Expr(a), init) case ir.ODEREF: n := n.(*ir.StarExpr) l := safeExpr(n.X, init) if l == n.X {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 27.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/union.go
// Avoid excessive type-checking times due to quadratic termlist operations. const maxTermCount = 100 // parseUnion parses uexpr as a union of expressions. // The result is a Union type, or Typ[Invalid] for some errors. func parseUnion(check *Checker, uexpr syntax.Expr) Type { blist, tlist := flattenUnion(nil, uexpr) assert(len(blist) == len(tlist)-1) var terms []*Term var u Type for i, x := range tlist {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 15 16:16:58 UTC 2023 - 6.3K bytes - Viewed (0)