Пример #1
0
        private bool StatementUsesExpr(INode node, IdentifierExpression ie)
        {
            FindReferenceVisitor visitor = new FindReferenceVisitor(true, ie.Identifier, node.StartLocation, node.EndLocation);

            node.AcceptVisitor(visitor, null);
            return(visitor.Identifiers.Count > 0);
        }
 private bool StatementUsesExpr(INode node, IdentifierExpression ie)
 {
     FindReferenceVisitor visitor = new FindReferenceVisitor(true, ie.Identifier, node.StartLocation, node.EndLocation);
     node.AcceptVisitor(visitor, null);
     return visitor.Identifiers.Count > 0;
 }