MCPcopy Create free account
hub / github.com/z7zmey/php-parser / NewMod

Function NewMod

node/expr/binary/n_mod.go:19–25  ·  view source on GitHub ↗

NewMod node constructor

(Variable node.Node, Expression node.Node)

Source from the content-addressed store, hash-verified

17
18// NewMod node constructor
19func NewMod(Variable node.Node, Expression node.Node) *Mod {
20 return &Mod{
21 FreeFloating: nil,
22 Left: Variable,
23 Right: Expression,
24 }
25}
26
27// SetPosition sets node position
28func (n *Mod) SetPosition(p *position.Position) {

Callers 2

ParseMethod · 0.92
ParseMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…