Helper functions for building common GitHub Actions expression patterns BuildPropertyAccess creates a property access node for GitHub context properties
(path string)
| 294 | |
| 295 | // BuildPropertyAccess creates a property access node for GitHub context properties |
| 296 | func BuildPropertyAccess(path string) *PropertyAccessNode { |
| 297 | return &PropertyAccessNode{PropertyPath: path} |
| 298 | } |
| 299 | |
| 300 | // BuildStringLiteral creates a string literal node |
| 301 | func BuildStringLiteral(value string) *StringLiteralNode { |
no outgoing calls