struct
Marten::Template::Parser::Token
- Marten::Template::Parser::Token
- Struct
- Value
- Object
Overview
Represents a token extracted during a lexical analysis.
Defined in:
marten/template/parser/token.crConstructors
Instance Method Summary
- #content : String
- #line_number : Int32
- #trim_left? : Bool
- #trim_right? : Bool
- #type : Marten::Template::Parser::TokenType
Constructor Detail
def self.new(type : TokenType, content : String, line_number : Int32, trim_left : Bool = false, trim_right : Bool = false)
#