class

Marten::Template::Condition::Token::Value

Inherits Marten::Template::Condition::Token::Base / Reference / Object

A condition value token.

Constructors

new(source : String)
Source

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
nud(condition : Condition) : Condition::Token::Base

Implements the prefix handler and returns a resulting token.

Source