(node *ast.Node)
| 18640 | } |
| 18641 | |
| 18642 | func (c *Checker) getCombinedModifierFlagsCached(node *ast.Node) ast.ModifierFlags { |
| 18643 | // we hold onto the last node and result to speed up repeated lookups against the same node. |
| 18644 | if c.lastGetCombinedModifierFlagsNode == node { |
| 18645 | return c.lastGetCombinedModifierFlagsResult |
| 18646 | } |
| 18647 | c.lastGetCombinedModifierFlagsNode = node |
| 18648 | c.lastGetCombinedModifierFlagsResult = ast.GetCombinedModifierFlags(node) |
| 18649 | return c.lastGetCombinedModifierFlagsResult |
| 18650 | } |
| 18651 | |
| 18652 | /** |
| 18653 | * Push an entry on the type resolution stack. If an entry with the given target and the given property name |
no test coverage detected