MCPcopy Index your code
hub / github.com/SplootCode/splootcode / getArg

Function getArg

packages/editor/src/tests/multiselect.test.ts:23–27  ·  view source on GitHub ↗
(expr: PythonExpression)

Source from the content-addressed store, hash-verified

21} from '@splootcode/language-python'
22
23function getArg(expr: PythonExpression): PythonArgument {
24 const arg = new PythonArgument(null)
25 arg.getArgument().addChild(expr)
26 return arg
27}
28function getExpressionFromString(s: string): PythonExpression {
29 const expr = new PythonExpression(null)
30 expr.getTokenSet().addChild(new PythonStringLiteral(null, s))

Callers 1

getBreadcrumbsTestFileFunction · 0.85

Calls 2

getArgumentMethod · 0.95
addChildMethod · 0.80

Tested by

no test coverage detected