/// <summary>
		/// Finds a symbol in the expression
		/// </summary>
		/// <param name="context">The context.</param>
		/// <returns></returns>
		public SymbolRef FindSymbol(ScriptExecutionContext context)
		{
			this.CheckScriptOwnership(context.GetScript());

			if (m_Exp != null)
				return m_Exp.FindDynamic(context);
			else
				return null;
		}
Exemplo n.º 2
0
 /// <summary>
 /// Finds a symbol in the expression
 /// </summary>
 /// <param name="context">The context.</param>
 /// <returns></returns>
 public SymbolRef FindSymbol(ScriptExecutionContext context)
 {
     if (m_Exp != null)
     {
         return(m_Exp.FindDynamic(context));
     }
     else
     {
         return(null);
     }
 }
        /// <summary>
        /// Finds a symbol in the expression
        /// </summary>
        /// <param name="context">The context.</param>
        public SymbolRef FindSymbol(ScriptExecutionContext context)
        {
            this.CheckScriptOwnership(context.GetScript());

            return(_exp?.FindDynamic(context));
        }