Package com.orange.wink.parse.objects

Examples of com.orange.wink.parse.objects.SetName


          result = new SetProp(n);
        } else if (type == Token.SETELEM) {
          result = new SetElem(n);
        }
      } else if (type == Token.SETNAME) {
        result = new SetName(n);
      } else if (type == Token.OBJECTLIT) {
        result = new ObjectLit(n);
      } else if (type == Token.FUNCTION) {
        result = new Function(n);
      } else if (type == Token.CALL && Call.isValidCall(n)) {
View Full Code Here


   */
  public static void getSetName(final AstNode n, final List<SetName> result) throws WinkParseException {
    final ParseObject po = ParserUtils.resolveParseObject(n);

    if (po instanceof SetName) {
      final SetName setn = (SetName) po;
      result.add(setn);
    } else if (po instanceof Function) {
      return;
    } else {
      for (final AstNode child : n.getChilds()) {
View Full Code Here

TOP

Related Classes of com.orange.wink.parse.objects.SetName

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.