Package abstrasy.interpreter

Examples of abstrasy.interpreter.ContextualCall


        public static final Node evalMethod(Node self, String symbol, Node argvx, int index) throws Exception {
            switch (self.type) {
                case Node.TYPE_NAMESPACE:
                    {
                        if (self.isNamespace()) {
                            ContextualCall ccall = ContextualCall.createContextualCall(self, symbol);
                            if (ccall != null && argvx != null)
                                return ccall.call(argvx, index);

                            else
                                throw new InterpreterException(StdErrors.extend(StdErrors.Symbol_not_defined, symbol));

                        }
View Full Code Here


        public static final Node evalMethod(Node self, String symbol, Node argv) throws Exception {
            switch (self.type) {
                case Node.TYPE_NAMESPACE:
                    {
                        if (self.isNamespace()) {
                            ContextualCall ccall = ContextualCall.createContextualCall(self, symbol);
                            if (ccall != null)
                                return ccall.call(argv);
                            else
                                throw new InterpreterException(StdErrors.extend(StdErrors.Symbol_not_defined, symbol));

                        }
                        else
View Full Code Here

        public static final Node evalMethod_unary(Node self, String symbol, Node arg0) throws Exception {
            switch (self.type) {
                case Node.TYPE_NAMESPACE:
                    {
                        if (self.isNamespace()) {
                            ContextualCall ccall = ContextualCall.createContextualCall(self, symbol);
                            if (ccall != null)
                                return ccall.call_unary(arg0);

                            else
                                throw new InterpreterException(StdErrors.extend(StdErrors.Symbol_not_defined, symbol));

                        }
View Full Code Here

        public static final Node evalMethod_or_null(Node self, String symbol, Node argv) throws Exception {
            switch (self.type) {
                case Node.TYPE_NAMESPACE:
                    {
                        if (self.isNamespace()) {
                            ContextualCall ccall = ContextualCall.createContextualCall(self, symbol);
                            if (ccall != null)
                                return ccall.call(argv);

                            else
                                return null;

                        }
View Full Code Here

        public static final Node evalMethod_or_null(Node self, String symbol, Node argvx, int index) throws Exception {
            switch (self.type) {
                case Node.TYPE_NAMESPACE:
                    {
                        if (self.isNamespace()) {
                            ContextualCall ccall = ContextualCall.createContextualCall(self, symbol);
                            if (ccall != null)
                                return ccall.call(argvx, index);

                            else
                                return null;

                        }
View Full Code Here

        public static final Node evalMethod_unary_or_null(Node self, String symbol, Node arg0) throws Exception {
            switch (self.type) {
                case Node.TYPE_NAMESPACE:
                    {
                        if (self.isNamespace()) {
                            ContextualCall ccall = ContextualCall.createContextualCall(self, symbol);
                            if (ccall != null)
                                return ccall.call_unary(arg0);

                            else
                                return null;

                        }
View Full Code Here

TOP

Related Classes of abstrasy.interpreter.ContextualCall

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.