Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CashScript/cashscript
/ getVersionOpFromCtx
Function
getVersionOpFromCtx
packages/cashc/src/ast/Pragma.ts:21–23 ·
view source on GitHub ↗
(ctx?: VersionOperatorContext)
Source
from the content-addressed store, hash-verified
19
}
20
21
export
function
getVersionOpFromCtx(ctx?: VersionOperatorContext): VersionOp {
22
return
<VersionOp>(ctx ? ctx.getText() :
'='
);
23
}
Callers
1
processPragma
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected