Uses of Class
com.google.common.labs.parse.OperatorTable
Packages that use OperatorTable
Package
Description
Parser combinator that's free from infinite loop or accidental left recursion
-
Uses of OperatorTable in com.google.common.labs.parse
Methods in com.google.common.labs.parse that return OperatorTableModifier and TypeMethodDescriptionOperatorTable.leftAssociative
(Parser<? extends BinaryOperator<T>> operator, int precedence) Adds a left-associative infix operator with the given precedence to the table.OperatorTable.leftAssociative
(String op, BinaryOperator<T> operator, int precedence) Adds a left-associative infix operator with the given precedence to the table.OperatorTable.nonAssociative
(Parser<? extends BinaryOperator<T>> operator, int precedence) Adds a non-associative infix operator with the given precedence to the table.OperatorTable.nonAssociative
(String op, BinaryOperator<T> operator, int precedence) Adds a non-associative infix operator with the given precedence to the table.OperatorTable.postfix
(Parser<? extends UnaryOperator<T>> operator, int precedence) Adds a postfix operator with the given precedence to the table.OperatorTable.postfix
(String op, UnaryOperator<T> operator, int precedence) Adds a postfix operator with the given precedence to the table.OperatorTable.prefix
(Parser<? extends UnaryOperator<T>> operator, int precedence) Adds a prefix operator with the given precedence to the table.OperatorTable.prefix
(String op, UnaryOperator<T> operator, int precedence) Adds a prefix operator with the given precedence to the table.OperatorTable.rightAssociative
(Parser<? extends BinaryOperator<T>> operator, int precedence) Adds a right-associative infix operator with the given precedence to the table.OperatorTable.rightAssociative
(String op, BinaryOperator<T> operator, int precedence) Adds a right-associative infix operator with the given precedence to the table.