using Canon.Core.Enums;
namespace Canon.Core.SyntaxNodes;
public class ValueParameter : NonTerminatedSyntaxNode
{
public override NonTerminatorType Type => NonTerminatorType.ValueParameter;
///
/// 声明的变量列表
///
public IdentifierList IdentifierList => Children[0].Convert();
///
/// 声明的变量类型
///
public BasicType BasicType => Children[2].Convert();
public static ValueParameter Create(List children)
{
return new ValueParameter { Children = children };
}
}