public CaseStatementNode(SourceLocation location, CaseStatementKind kind, PatternNode pattern, ExpressionNode whereClause, IEnumerable <StatementNode> body) : base(location) { Kind = kind; Pattern = pattern; WhereClause = whereClause; Body = body?.ToList().AsReadOnly(); }
public FoInStatementNode(SourceLocation location, ExpressionNode sequence, PatternNode varName, string labelName, IEnumerable <StatementNode> body) : base(location) { Sequence = sequence; VarName = varName; LabelName = labelName; Body = body?.ToList().AsReadOnly(); }
public UsingStatementNode(SourceLocation location, PatternNode varName, ExpressionNode initialization, IEnumerable <StatementNode> block, string labelName) : base(location) { VarName = varName; Initialization = initialization; Block = block?.ToList().AsReadOnly(); LabelName = labelName; }
public VarStatementNode(SourceLocation location, PatternNode varName, ExpressionNode initialization) : base(location) { VarName = varName; Initialization = initialization; }
public StructPatternElementNode(SourceLocation location, string name, PatternNode pattern) : base(location) { Name = name; Pattern = pattern; }
public TupleElementPatternNode(SourceLocation location, PatternNode left, PatternNode right) : base(location) { Left = left; Right = right; }