Skip to content

Commit 1150c14

Browse files
committed
added GetSource method to ParseResult
1 parent febe5da commit 1150c14

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

numscript.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,7 @@ func (p ParseResult) Run(ctx context.Context, vars VariablesMap, store Store) (E
6060
}
6161
return *res, nil
6262
}
63+
64+
func (p ParseResult) GetSource() string {
65+
return p.parseResult.Source
66+
}

0 commit comments

Comments
 (0)