class

Marten::Template::Condition::Token::Base

Inherits Reference / Object

The base condition token class.

Instance methods

eval(context : Context) : Marten::Template::Value

Evaluates the token for a given context.

Source
id

Returns the ID of the token.

Source
lbp

Returns the left binding power of the token.

Source
led(condition : Condition, left : Condition::Token::Base) : Condition::Token::Base

Implements the infix handler and returns a resulting token.

Source
nud(condition : Condition) : Condition::Token::Base

Implements the prefix handler and returns a resulting token.

Source
to_s(io)
Source