Babel.Compiler.MethodData.Match C# (CSharp) Method

Match() public method

public Match ( string name, TypedNodeList arguments, bool hasReturnValue ) : bool
name string
arguments TypedNodeList
hasReturnValue bool
return bool
        public virtual bool Match(string name,
                                  TypedNodeList arguments,
                                  bool hasReturnValue)
        {
            if (Name.ToLower() != name.ToLower())
                return false;
            if (!ReturnType.IsVoid != hasReturnValue)
                return false;
            return Match(arguments);
        }