class

Sheety::Tokens::ArgumentSeparator

Inherits Sheety::Token < Reference < Object

Argument separator for function calls (comma) This is different from SeparatorOperator which is for array formulas

Constants

COMMA_REGEX = /^\s*,/

Class methods

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

Instance methods

ast(tokens : Array(Token), stack : Array(Token), builder : AstBuilder) : Nil

Add this token to the AST - called during parsing

Source
compile

Compile the token to executable code

Source
lbp

Argument separators don't participate in operator precedence They just mark argument boundaries

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