MCPcopy Index your code
hub / github.com/coder/coder / sameExprForm

Function sameExprForm

scripts/intxcheck/analyzer.go:463–468  ·  view source on GitHub ↗
(got, want exprForm)

Source from the content-addressed store, hash-verified

461}
462
463func sameExprForm(got, want exprForm) bool {
464 if got.root != nil && want.root != nil {
465 return got.root == want.root && got.suffix == want.suffix
466 }
467 return got.text == want.text
468}
469
470func sameExprFormWithSuffix(got, base exprForm, suffix string) bool {
471 if got.root != nil && base.root != nil {

Callers 3

matchesMethod · 0.85
matchesOwnerMethod · 0.85
containsExprFormFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected