Module parser

Module parser 

Source
Expand description

Parser for TCSS - converts tokens into an Abstract Syntax Tree

This module implements a recursive descent parser that handles:

  • Function definitions (@fn)
  • Variable declarations (@var)
  • Import statements (@import)
  • CSS rules with properties
  • Python-style indentation

Structsยง

Parser
Parser for TCSS tokens