/// <summary>
        /// Create and initialize a new identifier literal node.
        /// </summary>
        /// <param name="parent">Parent node that defines this literal node.</param>
        /// <param name="token">Token defining the value of the literal node.</param>
        protected internal IdentifierLiteralNode(ILiteralNodeParent parent, ILiteralArrayIdentifierToken token)
            : base(parent)
        {
#if DEBUG
            if (token == null)
            {
                throw new ArgumentNullException("token");
            }
#endif
            this.Token = token;
        }
Exemplo n.º 2
0
 /// <summary>
 /// Create and initialize a new identifier literal node.
 /// </summary>
 /// <param name="parent">Parent node that defines this literal node.</param>
 /// <param name="token">Token defining the value of the literal node.</param>
 protected internal IdentifierLiteralNode(ILiteralNodeParent parent, ILiteralArrayIdentifierToken token)
     : base(parent)
 {
     #if DEBUG
     if (token == null)
         throw new ArgumentNullException("token");
     #endif
     this.Token = token;
 }