class

Sheety::Tokens::ErrorToken

Inherits Sheety::Tokens::Operand < Sheety::Token < Reference < Object

Excel error values (#DIV/0!, #VALUE!, etc.)

Constants

ERROR_REGEX = /^\s*(?P<name>#(?:NULL!|DIV\/0!|VALUE!|REF!|NUM!|NAME\?|N\/A))/i

Class methods

match?(s : String) : Regex::MatchData | Nil
Source

Instance methods

compile

Compile the token to executable code

Source
match(s : String) : Regex::MatchData | Nil

Try to match the token pattern against the input string

Source
process(match : Regex::MatchData) : Nil

Process the match result and populate attributes

Source

Nested types