MCPcopy Create free account
hub / github.com/codnect/procyon / Index

Method Index

component/constructor.go:129–131  ·  view source on GitHub ↗

Index returns the index of the argument in the function parameter list.

()

Source from the content-addressed store, hash-verified

127
128// Index returns the index of the argument in the function parameter list.
129func (a Arg) Index() int {
130 return a.index
131}
132
133// Name returns the name of the argument.
134func (a Arg) Name() string {

Callers 7

TestMakeDefinitionFunction · 0.80
TestCreateConstructorFunction · 0.80
resolveArgumentsMethod · 0.80
NewEnvPropertySourceFunction · 0.80
ParseArgsFunction · 0.80
copySliceMethod · 0.80
flatMapFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestMakeDefinitionFunction · 0.64
TestCreateConstructorFunction · 0.64