(parser)
| 7169 | } |
| 7170 | var VisibilityCommand = class extends Command { |
| 7171 | static parseShowHideTarget(parser) { |
| 7172 | var currentTokenValue = parser.currentToken(); |
| 7173 | if (currentTokenValue.value === "when" || currentTokenValue.value === "with" || parser.commandBoundary(currentTokenValue)) { |
| 7174 | return parser.parseElement("implicitMeTarget"); |
| 7175 | } else { |
| 7176 | return parser.parseElement("expression"); |
| 7177 | } |
| 7178 | } |
| 7179 | static resolveHideShowStrategy(parser, name) { |
| 7180 | var configDefault = config.defaultHideShowStrategy; |
| 7181 | var strategies = HIDE_SHOW_STRATEGIES; |
no test coverage detected