protected override Value GetValueInternal(bool execute = true)
        {
            IdentifierStore store = (Identifiers ?? IdentifierStore.Global);

            if (!store.Contains(Identifier))
            {
                throw new ExpressionException(Callstack, $"Identifier '{Identifier}' not found");
            }

            return((Identifiers ?? IdentifierStore.Global)[Identifier, true]);
        }
        protected override Value GetValueInternal(bool execute = true)
        {
            IdentifierStore store = (Identifiers ?? IdentifierStore.Global);

            if (!store.Contains(Identifier))
            {
                throw new IdentifierNotFoundExpressionException(Callstack, Identifier);
            }

            return((Identifiers ?? IdentifierStore.Global)[Identifier]);
        }
Ejemplo n.º 3
0
 public override bool Contains(string key) => base.Contains(key) || Parent.Contains(key);