class Crass::Parser

def initialize(input, options = {})

Experimental RBS support (using type sampling data from the type_fusion project).

def initialize: (Array[Hash, node, Symbol, pos, Integer, raw, String, type, Symbol, value, String] input, ?Hash options) -> void

This signature was generated using 1 sample from 1 application.

See {Tokenizer#initialize} for _options_.

or an array of tokens.
Initializes a parser based on the given _input_, which may be a CSS string
def initialize(input, options = {})
  unless input.kind_of?(Enumerable)
    input = Tokenizer.tokenize(input, options)
  end
  @tokens = TokenScanner.new(input)
end