Example #1
0
        private IronyAstObjectCodeLocation(ISourceCodeUnitsContainer codeUnitsContainer, LanguageCodeLocation location, ParseTreeNode node)
        {
            CodeUnitsContainer = codeUnitsContainer;
            CodeLocation       = location;
            CodeToken          = node.FindToken();
            CodeParseNode      = node;

            SetLocationSpan();
        }
        internal LanguageCompilationMessage(ISourceCodeUnitsContainer codeUnitsContainer, LanguageCodeLocation location, string description)
        {
            CodeUnitsContainer = codeUnitsContainer;
            CodeLocation       = location;
            CodeToken          = null;
            CodeParseNode      = null;
            Description        = description;

            SetLocationSpan();
        }