Documentation
¶
Overview ¶
Package rpn defines a kind of condition pattern just like normal if condition in Golang, which trasfer string pattern to normal if condition. e.g. "N>0.3&&N<=0.8". Bit operation is not supported.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReversePolishNotation ¶
type ReversePolishNotation struct {
// contains filtered or unexported fields
}
ReversePolishNotation represents a reverse polish notation.
func New ¶
func New(s string) (*ReversePolishNotation, error)
New creates a new ReversePolishNotation with a string pattern.
Click to show internal directories.
Click to hide internal directories.