value-declaration
The value-declaration
join point matches package-level var
and const
declarations of the specifid type. It is often used in combination with directive
, to replace the initial value of these declarations. This join point only matches GenDecl
nodes.
Examples
value-declaration: int
value-declaration: '*regexp.Regexp'