インタフェース TopLevelClass.Type

すべてのスーパーインタフェース:
TopLevelClass.Node
既知の実装クラスの一覧:
TopLevelClass.Default.Type
含まれているクラス:
TopLevelClass

public static interface TopLevelClass.Type
extends TopLevelClass.Node

An abstract-syntax-tree node Type.

A TypeDefinition generates this class. The word Type is given by IDENITIFIER. If TypeDefinition is $protected or $private, this class is protected or private. Otherwise, it is public.

導入されたバージョン:
notavaCC 1.0

フィールドの概要
static int ID
          The ID value of the type.
 
メソッドの概要
 List/Node label()
          Returns the child nodes labeled by label in the notavaCC source.
 
インタフェース TopLevelClass.Node から継承されたメソッド
getChildNodes
 

フィールドの詳細

ID

static final int ID
The ID value of the type. This field is generated if the instance of this type may be included by the abstract syntx trees.

導入されたバージョン:
notavaCC 1.0
関連項目:
TopLevelClass.createNode(int, TopLevelClass.NodeInitializationParameters),
メソッドの詳細

label

List/Node label()
Returns the child nodes labeled by 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.

戻り値:
the child nodes labeled by label.
導入されたバージョン:
notavaCC 1.0