Top Inners Fields Constructors Methods
org.joni.ast

public final Class QuantifierNode

extends StateNode
Class Inheritance
Static Imports
org.joni.ast.QuantifierNode.ReduceType.A, .QuantifierNode.ReduceType.AQ, .QuantifierNode.ReduceType.ASIS, .QuantifierNode.ReduceType.DEL, .QuantifierNode.ReduceType.P_QQ, .QuantifierNode.ReduceType.QQ

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static enum

Field Summary

Modifier and TypeField and Description
public int
public boolean
public Node
public boolean
public int
public Node
pack-priv static final String[]
pack-priv static final QuantifierNode.ReduceType[][]
pack-priv static final String[]
public static final int
public Node
public int
public int
Inherited from org.joni.ast.StateNode:
state

Constructor Summary

AccessConstructor and Description
public
QuantifierNode(int lower, int upper, boolean byNumber)

Method Summary

Modifier and TypeMethod and Description
protected void
protected Node
public String
getName()

Implements abstract org.joni.ast.Node.getName.

public boolean
public static boolean
protected int
public void
protected void
public int
setQuantifier(Node tgt, boolean group, ScanEnvironment env, byte[] bytes, int p, int end)

public void
public String
Inherited from org.joni.ast.StateNode:
clearAddrFixedclearByNumberclearCAlledclearCLenFixedclearInRepeatclearMark1clearMark2clearMaxFixedclearMemBackrefedclearMinFixedclearNamedGroupclearNameRefclearNestLevelclearRecursionclearStopBtSimpleRepeatisAddrFixedisByNumberisCalledisCLenFixedisInRepeatisMark1isMark2isMaxFixedisMemBackrefedisMinFixedisNamedGroupisNameRefisNestLevelisRecursionisStopBtSimpleRepeatsetAddrFixedsetByNumbersetCalledsetCLenFixedsetInRepeatsetMark1setMark2setMaxFixedsetMemBackrefedsetMinFixedsetNamedGroupsetNameRefsetNestLevelsetRecursionsetStopBtSimpleRepeatstateToString

Field Detail

combExpCheckNumback to summary
public int combExpCheckNum
greedyback to summary
public boolean greedy
headExactback to summary
public Node headExact
isReferedback to summary
public boolean isRefered
lowerback to summary
public int lower
nextHeadExactback to summary
public Node nextHeadExact
PopularQStrback to summary
pack-priv static final String[] PopularQStr
REDUCE_TABLEback to summary
pack-priv static final QuantifierNode.ReduceType[][] REDUCE_TABLE
ReduceQStrback to summary
pack-priv static final String[] ReduceQStr
REPEAT_INFINITEback to summary
public static final int REPEAT_INFINITE
targetback to summary
public Node target
targetEmptyInfoback to summary
public int targetEmptyInfo
upperback to summary
public int upper

Constructor Detail

QuantifierNodeback to summary
public QuantifierNode(int lower, int upper, boolean byNumber)

Method Detail

copyback to summary
protected void copy(QuantifierNode other)
getChildback to summary
protected Node getChild()

Overrides org.joni.ast.Node.getChild.

Annotations
@Override
getNameback to summary
public String getName()

Implements abstract org.joni.ast.Node.getName.

Annotations
@Override
isAnyCharStarback to summary
public boolean isAnyCharStar()
isRepeatInfiniteback to summary
public static boolean isRepeatInfinite(int n)
popularNumback to summary
protected int popularNum()
reduceNestedQuantifierback to summary
public void reduceNestedQuantifier(QuantifierNode other)
setChildback to summary
protected void setChild(Node child)

Overrides org.joni.ast.Node.setChild.

Annotations
@Override
setQuantifierback to summary
public int setQuantifier(Node tgt, boolean group, ScanEnvironment env, byte[] bytes, int p, int end)
setTargetback to summary
public void setTarget(Node tgt)
toStringback to summary
public String toString(int level)

Overrides org.joni.ast.StateNode.toString.

Annotations
@Override
org.joni.ast back to summary

pack-priv final Enum QuantifierNode.ReduceType

extends Enum<QuantifierNode.ReduceType>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final QuantifierNode.ReduceType
A

public static final QuantifierNode.ReduceType
public static final QuantifierNode.ReduceType
public static final QuantifierNode.ReduceType
public static final QuantifierNode.ReduceType
public static final QuantifierNode.ReduceType

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static QuantifierNode.ReduceType
public static QuantifierNode.ReduceType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

Aback to summary
public static final QuantifierNode.ReduceType A
AQback to summary
public static final QuantifierNode.ReduceType AQ
ASISback to summary
public static final QuantifierNode.ReduceType ASIS
DELback to summary
public static final QuantifierNode.ReduceType DEL
P_QQback to summary
public static final QuantifierNode.ReduceType P_QQ
QQback to summary
public static final QuantifierNode.ReduceType QQ

Constructor Detail

ReduceTypeback to summary
private ReduceType()

Method Detail

valueOfback to summary
public static QuantifierNode.ReduceType valueOf(String name)
valuesback to summary
public static QuantifierNode.ReduceType[] values()