public SourceLocation GetLocation(ParserRuleContext decl)
        {
            if (decl == null || decl.Equals(ParserRuleContext.EmptyContext))
            {
                return(new SourceLocation
                {
                    Line = -1,
                    Column = -1,
                    File = null
                });
            }

            return(new SourceLocation
            {
                Line = decl.Start.Line,
                Column = decl.Start.Column + 1,
                File = originalFiles.Get(GetRoot(decl))
            });
        }