Access keys

GroupHead

Kind of class: class
Inherits from: Node < BasicClass
Author: Igor Sadovskiy
Classpath: org.as2lib.regexp.node.GroupHead
File last modified: Tuesday, 11 October 2005, 16:56:16
GroupHead saves the location where the group begins in the
locals and restores them when the match is done.


The matchRef is used when a reference to this group is accessed later
in the expression. The locals will have a negative value in them to
indicate that we do not want to unset the group if the reference
doesn't match.

Summary

Constructor
Instance properties
Instance properties inherited from Node
Instance methods
Instance methods inherited from Node
Instance methods inherited from BasicClass

Constructor

GroupHead

function GroupHead (
localCount:Number)

Instance methods

getLocalIndex

function getLocalIndex (
Void) : Number

match

function match (
matcher:Object, i:Number, seq:String) : Boolean
This method implements the classic accept node.
#
Overrides:

matchRef

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