Class org.as2lib.regexp.node.GroupTail

Description

GroupTail handles the setting of group beginning and ending locations when groups are successfully matched. It must also be able to unset groups that have to be backed off of. The GroupTail node is also used when a previous group is referenced, and in that case no group information needs to be set.

Method Index

new GroupTail()
getGroupIndex(), getLocalIndex(), match()

Inherited from Node

Inherited from BasicClass

Constructor Detail

GroupTail

public function GroupTail(localCount:Number, groupCount:Number)

Method Detail

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

getLocalIndex

public function getLocalIndex(Void):Number

getGroupIndex

public function getGroupIndex(Void):Number