MCPcopy Create free account
hub / github.com/github/gh-aw / NewExpressionExtractor

Function NewExpressionExtractor

pkg/workflow/expression_extraction.go:40–45  ·  view source on GitHub ↗

NewExpressionExtractor creates a new ExpressionExtractor

()

Source from the content-addressed store, hash-verified

38
39// NewExpressionExtractor creates a new ExpressionExtractor
40func NewExpressionExtractor() *ExpressionExtractor {
41 return &ExpressionExtractor{
42 mappings: make(map[string]*ExpressionMapping),
43 counter: 0,
44 }
45}
46
47// contentTransformer is a function that rewrites an expression's content string.
48// It receives the current content and returns the (possibly) transformed content.

Calls

no outgoing calls