Package org.omegahat.Environment.Parser.Parse

Examples of org.omegahat.Environment.Parser.Parse.List


  /**
     Construct an object that will convert the names
     to objects by looking up the databases.
   */
public List argsToList(String[] names) {
List l = null;
if(names == null || names.length < 1)
   return(new List()); // currently necessary, but the expressions should handle null arguments.

int n = names.length;
  l = new List(n);
for(int i = 0; i < n; i++)
   l.addElement(new Name(names[i]));

return(l);
}
View Full Code Here


  */
public Object genericCallMethod(String []qualifier, Object[] args, String[] names,
                                  String returnName, boolean convert)
                   throws Throwable
{
  MethodCall call = new MethodCall(new Name(qualifier), new List(args));

  return(genericCallMethod(call, returnName, convert));
}
View Full Code Here

TOP

Related Classes of org.omegahat.Environment.Parser.Parse.List

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.