Represents an expression which is a type candidate, a symbol of types and indicates static references.
Inheritance: YacqExpression
コード例 #1
0
ファイル: TypeCandidate.cs プロジェクト: takeshik/yacq
 internal static TypeCandidate TypeCandidate(TypeCandidateExpression expression)
 {
     return new TypeCandidate()
     {
         Candidates = expression.Candidates.Select(TypeRef.Serialize).ToArray(),
     };
 }
コード例 #2
0
ファイル: DispatchExpression.cs プロジェクト: takeshik/yacq
 private static IEnumerable<Type> GetTypes(TypeCandidateExpression expression)
 {
     return expression.Candidates.Select(Static.Type);
 }
コード例 #3
0
 private static IEnumerable <Type> GetTypes(TypeCandidateExpression expression)
 {
     return(expression.Candidates.Select(Static.Type));
 }