stator
A math, geometry, and utility library
Public Member Functions | List of all members
sym::detail::ExprTokenizer::BinaryOpToken< Op > Struct Template Reference

#include <parser.hpp>

Inheritance diagram for sym::detail::ExprTokenizer::BinaryOpToken< Op >:
sym::detail::ExprTokenizer::RightOperatorBase

Public Member Functions

Expr apply (Expr l, ExprTokenizer &tk) const
 Takes left operand and returns the corresponding Expr, fetching the right operands from the tokenizer. More...
 
int LBP () const
 Left binding power (Precedence of this operator) More...
 
int NBP () const
 Next binding power (highest precedence of the operator that this operator can be a left operand of) More...
 

Detailed Description

template<class Op>
struct sym::detail::ExprTokenizer::BinaryOpToken< Op >

Definition at line 240 of file parser.hpp.

Member Function Documentation

◆ apply()

template<class Op >
Expr sym::detail::ExprTokenizer::BinaryOpToken< Op >::apply ( Expr  ,
ExprTokenizer  
) const
inlinevirtual

Implements sym::detail::ExprTokenizer::RightOperatorBase.

Definition at line 241 of file parser.hpp.

◆ LBP()

template<class Op >
int sym::detail::ExprTokenizer::BinaryOpToken< Op >::LBP ( ) const
inlinevirtual

Implements sym::detail::ExprTokenizer::RightOperatorBase.

Definition at line 245 of file parser.hpp.

◆ NBP()

template<class Op >
int sym::detail::ExprTokenizer::BinaryOpToken< Op >::NBP ( ) const
inlinevirtual

Implements sym::detail::ExprTokenizer::RightOperatorBase.

Definition at line 247 of file parser.hpp.


The documentation for this struct was generated from the following file: