Exemplo n.º 1
0
		public NCQLParser(string resourceName, ILogger NCacheLog)
		{
            this._ncacheLog = NCacheLog;
			_parserRule = new NCQLParserRule(NCacheLog);
            System.Reflection.Assembly asm = GetType().Assembly;
            Stream s = asm.GetManifestResourceStream(resourceName);
			base.LoadGrammar(s);
		}
Exemplo n.º 2
0
        public NCQLParser(string resourceName, ILogger NCacheLog)
        {
            this._ncacheLog = NCacheLog;
            _parserRule     = new NCQLParserRule(NCacheLog);
            System.Reflection.Assembly asm = GetType().Assembly;
            Stream s = asm.GetManifestResourceStream(resourceName);

            base.LoadGrammar(s);
        }