class Crass::Tokenizer

def create_token(type, properties = {})

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

def create_token: (Symbol type, ?Hash properties) -> Hash

This signature was generated using 1 sample from 1 application.

Creates and returns a new token with the given _properties_.
def create_token(type, properties = {})
  {
    :node => type,
    :pos  => @s.marker,
    :raw  => @s.marked
  }.merge!(properties)
end