Documentation
¶
Index ¶
- Constants
- func Compile(ctx context.Context, args ...object.Object) object.Object
- func Match(ctx context.Context, args ...object.Object) object.Object
- func Module() *object.Module
- type Regexp
- func (r *Regexp) Compare(other object.Object) (int, error)
- func (r *Regexp) Cost() int
- func (r *Regexp) Equals(other object.Object) object.Object
- func (r *Regexp) GetAttr(name string) (object.Object, bool)
- func (r *Regexp) HashKey() object.HashKey
- func (r *Regexp) Inspect() string
- func (r *Regexp) Interface() interface{}
- func (r *Regexp) IsTruthy() bool
- func (r *Regexp) MarshalJSON() ([]byte, error)
- func (r *Regexp) RunOperation(opType op.BinaryOpType, right object.Object) object.Object
- func (r *Regexp) SetAttr(name string, value object.Object) error
- func (r *Regexp) String() string
- func (r *Regexp) Type() object.Type
Constants ¶
View Source
const REGEXP object.Type = "regexp"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Regexp ¶
type Regexp struct {
// contains filtered or unexported fields
}
func (*Regexp) MarshalJSON ¶
func (*Regexp) RunOperation ¶
Click to show internal directories.
Click to hide internal directories.