|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.ObjectTopLevelClass.Default.Node
TopLevelClass.Default.Type
public static class TopLevelClass.Default.Type
An implementation of Type
node.
フィールドの概要 |
---|
インタフェース TopLevelClass.Type から継承されたフィールド |
---|
ID |
コンストラクタの概要 | |
---|---|
TopLevelClass.Default.Type(TopLevelClass.NodeInitializationParameters parameters,
boolean compact)
Constructs a instance with the child nodes given by parameters . |
|
TopLevelClass.Default.Type(TopLevelClass.Type source)
Constructs a instance with the child nodes given by source.getChildNodes() and source. |
メソッドの概要 | |
---|---|
List/Node |
label()
Returns the child nodes labeled by label in the notavaCC source. |
void |
replaceChild(TopLevelClass.Node oldChild,
TopLevelClass.Node newChild)
Replaces the child node oldChild with newChild . |
クラス TopLevelClass.Default.Node から継承されたメソッド |
---|
getChildNodes, toString |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
インタフェース TopLevelClass.Node から継承されたメソッド |
---|
getChildNodes |
コンストラクタの詳細 |
---|
public TopLevelClass.Default.Type(TopLevelClass.Type source)
source.getChildNodes()
and source.label()
. List
objects are copied.
source
- the source.public TopLevelClass.Default.Type(TopLevelClass.NodeInitializationParameters parameters, boolean compact)
parameters
.
parameters
- the parameters for initialization.compact
- remove the children that are not labeled.メソッドの詳細 |
---|
public List/Node label()
TopLevelClass.Type
の記述: label
in the notavaCC source.
If the number of the labeled children should be zero or one, the type of the result is the most specific common type. In this case, if there is no labeled children, the result is null
.
If the number of the labeled children may be greater than one, the type of the result is the List
of the most specific common type. In this case, if there is no labeled children, the result isEmpty
or is empty array rather than null
.
TopLevelClass.Type
内の label
label
.public void replaceChild(TopLevelClass.Node oldChild, TopLevelClass.Node newChild)
TopLevelClass.Default.Node
の記述: oldChild
with newChild
.
This method
replaces oldChild
in getChildNodes()
with newChild
.
Also, this method replaces the values returned by TopLevelClass.Type.label()
.
TopLevelClass.Default.Node
内の replaceChild
oldChild
- a replaced child node.newChild
- a child node to replace oldChild
.
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |