private static TableColumn GetColumnSchema(NameAndTypeDeclaration declaration) { var(name, type) = declaration .GetImmediateDescendants <SyntaxNode>() .ExtractChildren <NameDeclaration, PrimitiveTypeExpression>("Column pair"); return(new TableColumn(new EntityName(name.SimpleName), type.Type.ValueText)); }
public override T VisitNameAndTypeDeclaration(NameAndTypeDeclaration node) { throw new NotImplementedException(); }