Class org.as2lib.regexp.node.Bound

Description

Bound handles word boundaries. Includes a field to allow this one class to deal with the different types of word boundaries we can match. The word characters include underscores, letters, and digits.

Field Index

BOTH, LEFT, NONE, RIGHT

Method Index

new Bound()
check(), match()

Inherited from Node

Inherited from BasicClass

Constructor Detail

Bound

public function Bound(n:Number)

Field Detail

LEFT

static public LEFT:Number

RIGHT

static public RIGHT:Number

BOTH

static public BOTH:Number

NONE

static public NONE:Number

Method Detail

check

public function check(matcher:Object, i:Number, seq:String):Number

match

public function match(matcher:Object, i:Number, seq:String):Boolean

Description copied from Node

This method implements the classic accept node.

Overrides

match() in org.as2lib.regexp.node.Node