koala.dynamicjava.tree
Class Initializer
java.lang.Object
koala.dynamicjava.tree.Node
koala.dynamicjava.tree.Initializer
- Direct Known Subclasses:
- ClassInitializer, InstanceInitializer
- public abstract class Initializer
- extends Node
This class represents the initializer statement nodes of the syntax tree
Field Summary |
static java.lang.String |
BLOCK
The block property name |
Constructor Summary |
protected |
Initializer(BlockStatement block,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
Creates a new initializer statement |
Methods inherited from class koala.dynamicjava.tree.Node |
acceptVisitor, addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getFilename, getProperties, getProperty, hasProperty, removePropertyChangeListener, removePropertyChangeListener, setBeginColumn, setBeginLine, setEndColumn, setEndLine, setFilename, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLOCK
public static final java.lang.String BLOCK
- The block property name
- See Also:
- Constant Field Values
Initializer
protected Initializer(BlockStatement block,
java.lang.String fn,
int bl,
int bc,
int el,
int ec)
- Creates a new initializer statement
- Parameters:
block
- the blockfn
- the filenamebl
- the begin linebc
- the begin columnel
- the end lineec
- the end column
- Throws:
java.lang.IllegalArgumentException
- if block is null
getBlock
public BlockStatement getBlock()
- Gets the block statement
setBlock
public void setBlock(BlockStatement bs)
- Sets the block statement
- Throws:
java.lang.IllegalArgumentException
- if bs is null
Copyright © 2001 Stephane Hillion. All Rights Reserved.