Access keys

Branch

Kind of class: class
Inherits from: Node < BasicClass
Author: Igor Sadovskiy
Classpath: org.as2lib.regexp.node.Branch
File last modified: Tuesday, 11 October 2005, 16:56:16
Branch Handles the branching of alternations.
Note this is also
used for the ? quantifier to branch between the case where it matches once
and where it does not occur.

Summary

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

Constructor

Branch

function Branch (
lhs:Node, rhs:Node)

Instance methods

match

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

study

function study (
info:TreeInfo) : Boolean
This method is good for all zero length assertions.
#
Overrides: