class Marten::Template::Condition::Token::Operator::Prefix
- Marten::Template::Condition::Token::Operator::Prefix
- Marten::Template::Condition::Token::Base
- Reference
- Object
Overview
A prefix operator token.
Direct Known Subclasses
Defined in:
marten/template/condition/token/operator/prefix.crInstance Method Summary
-
#eval(context : Context) : Marten::Template::Value
Evaluates the token for a given context.
- #first : Marten::Template::Condition::Token::Base?
-
#id : String
Returns the ID of the token.
-
#lbp : UInt8
Returns the left binding power of the token.
-
#nud(condition : Condition) : Condition::Token::Base
Implements the prefix handler and returns a resulting token.
Instance methods inherited from class Marten::Template::Condition::Token::Base
eval(context : Context) : Marten::Template::Value
eval,
id : String
id,
lbp : UInt8
lbp,
led(condition : Condition, left : Condition::Token::Base) : Condition::Token::Base
led,
nud(condition : Condition) : Condition::Token::Base
nud,
to_s(io)
to_s
Instance Method Detail
Description copied from class Marten::Template::Condition::Token::Base
Evaluates the token for a given context.
def id : String
#
Description copied from class Marten::Template::Condition::Token::Base
Returns the ID of the token.
def lbp : UInt8
#
Description copied from class Marten::Template::Condition::Token::Base
Returns the left binding power of the token.
Description copied from class Marten::Template::Condition::Token::Base
Implements the prefix handler and returns a resulting token.