Exemplo n.º 1
0
 private static QsiExpressionNode VisitNamedParseNode(INamedParseNode node)
 {
     return(TreeHelper.Create <QsiColumnExpressionNode>(n =>
     {
         n.Column.SetValue(TableVisitor.VisitNamedParseNode(node));
     }));
 }
Exemplo n.º 2
0
        public static QsiColumnNode VisitNamedParseNode(INamedParseNode node)
        {
            switch (node.UnwrapAs <INamedParseNode>())
            {
            case FamilyWildcardParseNode familyWildcardParseNode:
                return(VisitFamilyWildcardParseNode(familyWildcardParseNode));

            // case BindParseNode bindParseNode:

            case ColumnParseNode columnParseNode:
                return(VisitColumnParseNode(columnParseNode));

            case TableWildcardParseNode tableWildcardParseNode:
                return(VisitTableWildcardParseNode(tableWildcardParseNode));

            default:
                throw TreeHelper.NotSupportedTree(node);
            }
        }