fr.umlv.tatoo.cc.parser.grammar
Class VersionDecl
java.lang.Object
fr.umlv.tatoo.cc.common.generator.AbstractObjectId
fr.umlv.tatoo.cc.parser.grammar.VersionDecl
- All Implemented Interfaces:
- ObjectId
public class VersionDecl
- extends AbstractObjectId
Represents a version of a production.
- Author:
- Remi Forax
VersionDecl
public VersionDecl(String id,
VersionDecl parent)
- Create a vesion with an id and a parent version.
- Parameters:
id
- parent
-
getParent
public VersionDecl getParent()
- Returns the parent version.
- Returns:
- the parent version or null if it's the root version.