Class: SilentParser
Silence the used command outputs.
See
Devs need to check for this property in Response.actions (opens in a new tab) and if true, don't output of the command used.
Hierarchy
-
↳
SilentParser
Implements
Constructors
constructor
• new SilentParser()
Overrides
Properties
acceptedNames
• Protected
acceptedNames: string
[]
Inherited from
requiredParameter
• Protected
requiredParameter: boolean
Inherited from
requiredPayload
• Protected
requiredPayload: boolean
Inherited from
Methods
parse
▸ parse(ctx
): string
Parses the given tag.
Parameters
Name | Type | Description |
---|---|---|
ctx | Context | The context of the tag. |
Returns
string
Implementation of
willAccept
▸ willAccept(ctx
): boolean
Whether the parser can handle the given tag.
Parameters
Name | Type | Description |
---|---|---|
ctx | Context | The context of the tag. |
Returns
boolean