Class org.as2lib.regexp.node.Ques

Description

Ques is a node to anchor "?" character. It handles all three kinds of its use.

Method Index

new Ques()
getType(), match(), study()

Inherited from Node

Inherited from BasicClass

Constructor Detail

Ques

public function Ques(node:Node, type: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

study

public function study(info:TreeInfo):Boolean

Description copied from Node

This method is good for all zero length assertions.

Overrides

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

getType

public function getType(Void):Number