Table of Contents

Class QueryContinuationClause

Namespace
ICSharpCode.Decompiler.CSharp.Syntax
Assembly
ICSharpCode.Decompiler.dll

Represents a query continuation. "(from .. select ..) into Identifier" or "(from .. group .. by ..) into Identifier" Note that "join .. into .." is not a query continuation!

This is always the first(!!) clause in a query expression. The tree for "from a in b select c into d select e" looks like this: new QueryExpression { new QueryContinuationClause { PrecedingQuery = new QueryExpression { new QueryFromClause(a in b), new QuerySelectClause(c) }, Identifier = d }, new QuerySelectClause(e) }

public class QueryContinuationClause : QueryClause, IAnnotatable, IFreezable, INode, ICloneable
Inheritance
QueryContinuationClause
Implements
Inherited Members
Extension Methods

Constructors

QueryContinuationClause()

public QueryContinuationClause()

Fields

IntoKeywordRole

public static readonly TokenRole IntoKeywordRole

Field Value

TokenRole

PrecedingQueryRole

public static readonly Role<QueryExpression> PrecedingQueryRole

Field Value

Role<QueryExpression>

Properties

Identifier

public string Identifier { get; set; }

Property Value

string

IdentifierToken

public Identifier IdentifierToken { get; }

Property Value

Identifier

IntoKeyword

public CSharpTokenNode IntoKeyword { get; }

Property Value

CSharpTokenNode

PrecedingQuery

public QueryExpression PrecedingQuery { get; set; }

Property Value

QueryExpression

Methods

AcceptVisitor(IAstVisitor)

public override void AcceptVisitor(IAstVisitor visitor)

Parameters

visitor IAstVisitor

AcceptVisitor<T>(IAstVisitor<T>)

public override T AcceptVisitor<T>(IAstVisitor<T> visitor)

Parameters

visitor IAstVisitor<T>

Returns

T

Type Parameters

T

AcceptVisitor<T, S>(IAstVisitor<T, S>, T)

public override S AcceptVisitor<T, S>(IAstVisitor<T, S> visitor, T data)

Parameters

visitor IAstVisitor<T, S>
data T

Returns

S

Type Parameters

T
S

DoMatch(AstNode, Match)

protected override bool DoMatch(AstNode other, Match match)

Parameters

other AstNode
match Match

Returns

bool