Class ExtractorFalse

Subclass to do specialization of the extractor strategy class.

This spesialization do casting into a false boolean type. This class follows the pattern with inheritance from Lua classes.

Metamethods

ExtractorFalse:__index (key) Lookup of missing class members.

Methods

ExtractorFalse:create (...) Create a new instance.
ExtractorFalse:_init () Initialize a new instance.
ExtractorFalse:cast (str) Cast the string into the correct type for this strategy.
ExtractorFalse:placeholder () Get the placeholder for this strategy.


Metamethods

ExtractorFalse:__index (key)
Lookup of missing class members.

Parameters:

Returns:

any

Raises:

on wrong arguments

Methods

ExtractorFalse:create (...)
Create a new instance.

Parameters:

Returns:

self
ExtractorFalse:_init ()
Initialize a new instance.

Returns:

self
ExtractorFalse:cast (str)
Cast the string into the correct type for this strategy. There are no safeguards for erroneous casts.

Parameters:

  • str string used as the extraction source

Returns:

boolean false

Raises:

on wrong arguments

See also:

ExtractorFalse:placeholder ()
Get the placeholder for this strategy.

Returns:

string
generated by LDoc 1.4.6