org.extendj.neobeaver.ast.GDecl Maven / Gradle / Ivy
/* This file was generated with JastAdd2 (http://jastadd.org) version 2.3.2 */
package org.extendj.neobeaver.ast;
import org.extendj.neobeaver.Parser.SourcePosition;
import org.extendj.neobeaver.Parser.Symbol;
/** Productions and directives.
* @ast node
* @declaredat /home/jesper/git/neobeaver/core/src/grammar/Grammar.ast:4
* @astdecl GDecl : ASTNode;
* @production GDecl : {@link ASTNode};
*/
public abstract class GDecl extends ASTNode implements Cloneable {
/**
* @declaredat ASTNode:1
*/
public GDecl() {
super();
}
/**
* Initializes the child array to the correct size.
* Initializes List and Opt nta children.
* @apilevel internal
* @ast method
* @declaredat ASTNode:10
*/
public void init$Children() {
}
/** @apilevel low-level
* @declaredat ASTNode:13
*/
protected int numChildren() {
return 0;
}
/** @apilevel internal
* @declaredat ASTNode:17
*/
public void flushAttrCache() {
super.flushAttrCache();
}
/** @apilevel internal
* @declaredat ASTNode:21
*/
public void flushCollectionCache() {
super.flushCollectionCache();
}
/** @apilevel internal
* @declaredat ASTNode:25
*/
public GDecl clone() throws CloneNotSupportedException {
GDecl node = (GDecl) super.clone();
return node;
}
/**
* Create a deep copy of the AST subtree at this node.
* The copy is dangling, i.e. has no parent.
* @return dangling copy of the subtree at this node
* @apilevel low-level
* @deprecated Please use treeCopy or treeCopyNoTransform instead
* @declaredat ASTNode:36
*/
@Deprecated
public abstract GDecl fullCopy();
/**
* Create a deep copy of the AST subtree at this node.
* The copy is dangling, i.e. has no parent.
* @return dangling copy of the subtree at this node
* @apilevel low-level
* @declaredat ASTNode:44
*/
public abstract GDecl treeCopyNoTransform();
/**
* Create a deep copy of the AST subtree at this node.
* The subtree of this node is traversed to trigger rewrites before copy.
* The copy is dangling, i.e. has no parent.
* @return dangling copy of the subtree at this node
* @apilevel low-level
* @declaredat ASTNode:52
*/
public abstract GDecl treeCopy();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy