istio: istio.io/istio/mixer/pkg/lang/compiled Index | Files

package compiled

import "istio.io/istio/mixer/pkg/lang/compiled"

Index

Package Files

expressionbuilder.go

type Expression Uses

type Expression = attribute.Expression

Expression type alias

type ExpressionBuilder Uses

type ExpressionBuilder struct {
    // contains filtered or unexported fields
}

ExpressionBuilder is used to create a set of pre-compiled expressions, backed by the same program and interpreter instance. It is meant to be used to create a large number of precompiled expressions that are backed by an efficient set of shared, immutable objects.

func NewBuilder Uses

func NewBuilder(finder attribute.AttributeDescriptorFinder) *ExpressionBuilder

NewBuilder returns a new ExpressionBuilder

func (*ExpressionBuilder) Compile Uses

func (e *ExpressionBuilder) Compile(text string) (Expression, descriptor.ValueType, error)

Compile the given text and return a pre-compiled expression object.

Package compiled imports 6 packages (graph) and is imported by 14 packages. Updated 2019-06-26. Refresh now. Tools for package owners.