DotNetXri.Syntax.Xri3.Impl.XRI3Literal.read C# (CSharp) Method

read() private method

private read ( ) : void
return void
        private void read()
        {
            this.reset();

            object obj = this.rule;	// literal or literal_nc

            // literal of literal_nc

            if (obj is Parser.Parser.literal)
            {
                this.value = ((Parser.Parser.literal)obj).spelling;
            }
            else if (obj is Parser.Parser.literal_nc)
            {
                this.value = ((Parser.Parser.literal_nc)obj).spelling;
            }
        }