Example #1
0
  /*
   * (non-Javadoc)
   * @see com.aptana.editor.js.parsing.ast.JSTreeWalker#visit(com.aptana.editor.js.parsing.ast.JSGroupNode)
   */
  @Override
  public void visit(JSGroupNode node) {
    IParseNode expression = node.getExpression();

    if (expression instanceof JSNode) {
      ((JSNode) expression).accept(this);
    }
  }
Example #2
0
 /**
  * addTypes
  *
  * @param node
  */
 protected void addTypes(IParseNode node) {
   if (node instanceof JSNode) {
     ((JSNode) node).accept(this);
   }
 }