Package anvil.script.expression

Examples of anvil.script.expression.LinkNode


    _document = DocParser.parseClass(_name, parser.getDocument());
    s = tag.get("extends");
    if (s != null) {
      Name name = Grammar.parseDottedName(parser, location, s);
      if (name != null) {
        _base = new ClassRef(new LinkNode(this, location, name));
      } else {
        init = false;
      }
    }
    s = tag.get("implements");
    if (s != null) {
      Name[] names = Grammar.parseDottedNames(parser, location, s);
      if (names != null) {
        int n = names.length;
        _interfaces = new InterfaceRef[n];
        for(int i=0; i<n; i++) {
          _interfaces[i] = new InterfaceRef(new LinkNode(this, location, names[i]));
        }
      } else {
        init = false;
      }
    }
View Full Code Here


    String dottedname = tag.getValue("function");
    if (dottedname != null) {
      Name name = Grammar.parseDottedName(parser, location, dottedname);
      if (name != null) {
        _expression = new Expression(new LinkNode(this, location, name, parameters, LinkNode.GET), location);
      }
    } else {
      parser.error(location, "Attribute 'function' not given");
    }
View Full Code Here

TOP

Related Classes of anvil.script.expression.LinkNode

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.