Example #1
0
        public override void VisitGlobalConstUse(BoundGlobalConst x)
        {
            _result.Add(new SymbolStat(_tctx, x.PhpSyntax.Span, x, null));

            //
            base.VisitGlobalConstUse(x);
        }
        public override VoidStruct VisitGlobalConstUse(BoundGlobalConst x)
        {
            if (x.PhpSyntax?.Span.Contains(_position) == true)
            {
                _result = new SymbolStat(_tctx, x.PhpSyntax.Span, x, null);
            }

            //
            return(base.VisitGlobalConstUse(x));
        }
Example #3
0
 public override object VisitGlobalConstUse(BoundGlobalConst x)
 {
     return(x);
 }