Class: abstract
BaseParser
A base class for all transformers.
Extended by
BreakParser
IfStatementParser
UnionStatementParser
IntersectionStatementParser
DefineParser
FiftyFiftyParser
StringFormatParser
OrdinalFormatParser
IncludesParser
JSONVarParser
RandomParser
RangeParser
ReplaceParser
SliceParser
StopParser
UrlEncodeParser
UrlDecodeParser
Constructors
new BaseParser()
new BaseParser(acceptedNames
, requiredParameter
, requiredPayload
): BaseParser
Parameters
acceptedNames
string
[]
requiredParameter
boolean
= false
requiredPayload
boolean
= false
Returns
Defined in
Properties
acceptedNames
protected
acceptedNames: string
[]
Defined in
requiredParameter
protected
requiredParameter: boolean
Defined in
requiredPayload
protected
requiredPayload: boolean
Defined in
Methods
toJSON()
toJSON(): object
Returns
object
acceptedNames
acceptedNames: string
[]
requiredParameter
requiredParameter: boolean
requiredPayload
requiredPayload: boolean
Defined in
willAccept()
willAccept(ctx
): boolean
Parameters
ctx
Returns
boolean