Beispiel #1
0
        /*--------------------------------------------------------------*/

        public void LoadString(string source)
        {
            // TODO: add more specific code here
            if (source == null)
            {
                throw new SharpNektonException(new SharpNektonError(SharpNektonErrorID.UNSPECIFIED_ERROR));
            }

            _parser.Source = new StringSource(source);
            _parser.Compile(this);
            _sourceLoaded = true;
        }