MacroCalls returns a map of expression id to ast.Expr value where the id represents the expression node where the macro was inserted into the AST, and the ast.Expr value represents the original call signature which was replaced.
()
| 308 | // node where the macro was inserted into the AST, and the ast.Expr value represents the original call |
| 309 | // signature which was replaced. |
| 310 | func (s *SourceInfo) MacroCalls() map[int64]Expr { |
| 311 | if s == nil { |
| 312 | return map[int64]Expr{} |
| 313 | } |
| 314 | return s.macroCalls |
| 315 | } |
| 316 | |
| 317 | // GetMacroCall returns the original ast.Expr value for the given expression if it was generated via |
| 318 | // a macro replacement. |
no outgoing calls