Example #1
0
        public Boolean AllowedForwardReferences(Ast ast)
        {
            if (Symbols.ContainsKey(ast.Token.TokenValue))
            {
                return(AllowAllForwardReferences);
            }

            if (EnclosingScope == null)
            {
                return(false);
            }

            return(EnclosingScope.AllowedForwardReferences(ast));
        }