public override bool VisitLetStmt(VBAParser.LetStmtContext context)
            {
                var leftmost = context.lExpression().GetChild(0).GetText();

                _result = _result || leftmost == _name;
                return(_result);
            }
Beispiel #2
0
        public void Resolve(VBAParser.LetStmtContext context)
        {
            var letStatement = context.LET();

            ResolveDefault(
                context.lExpression(),
                StatementResolutionContext.LetStatement,
                true,
                letStatement != null);
            ResolveDefault(context.expression());
        }