module Pratt::TokenType

Direct including types

Defined in:

tokentype.cr

Instance Method Summary

Instance Method Detail

def punctuator(token : Type) : Char | Nil #

If the TokenType represents a punctuator (i.e. a token that can split an identifier like '+', this will get its text.


[View source]