Sheety::Tokens::Function
Inherits Sheety::Token < Reference < Object
Function name token (e.g., SUM, IF, AVERAGE in "SUM(A1:B5)")
Constants
FUNCTION_NAME_REGEX = /^\s*(?P<name>[A-Z_][A-Z0-9_.]*)/i
Regex for function names (letters, digits, underscore) Excel function names are typically uppercase letters only NOTE: We don't include the opening paren here - it's matched separately
Class methods
Instance methods
Add this token to the AST - called during parsing
Create the function call AST node with its arguments
function_name
Sourcelbp
Functions act like left-parentheses in the shunting-yard algorithm They mark the start of a function call
Try to match the token pattern against the input string
rbp
Source