class Aero::Template::Parser

Defined in:

template/parser.cr

Constant Summary

OTHER_OPERATORS = {"+", "++", "-", "--", "*", "**", "/", "//", "^", "%"}
VALID_OPERATORS = {"==", "!=", "<", "<=", ">", ">="}

Constructors

Instance Method Summary

Constructor Detail

def self.new(tokens : Array(Aero::Template::Token), pos : Int32 = -1) #

[View source]

Instance Method Detail

def nodes : Array(Node) #

[View source]
def nodes=(nodes : Array(Node)) #

[View source]
def parse_node(token : Token) : Node #

[View source]
def pos : Int32 #

[View source]
def pos=(pos : Int32) #

[View source]
def run : Array(Node) #

[View source]
def tokens : Array(Token) #

[View source]
def tokens=(tokens : Array(Token)) #

[View source]