modesteditor.core.model
Class Model
java.lang.Object
modesteditor.core.model.Model
- Direct Known Subclasses:
- ModestAction, ModestException, ModestType, ModestVariable, Process
public abstract class Model
- extends java.lang.Object
Superclass of all MoDeST models.
Field Summary |
protected int |
column
|
protected int |
length
|
protected int |
line
|
protected java.lang.String |
name
|
protected Process |
parent
Parent process of the model, either a process or the root of the tree. |
Constructor Summary |
Model()
|
Model(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
protected Process parent
- Parent process of the model, either a process or the root of the tree.
name
protected java.lang.String name
length
protected int length
line
protected int line
column
protected int column
Model
public Model(java.lang.String name)
Model
public Model()
setName
public void setName(java.lang.String name)
getParent
public Process getParent()
accept
public abstract void accept(IModelVisitor visitor,
java.lang.Object passAlongArgument)
getName
public java.lang.String getName()
getLength
public int getLength()
getLine
public int getLine()
getColumn
public int getColumn()