xtc.parser
Class ModuleInstantiation

java.lang.Object
  extended by xtc.tree.Node
      extended by xtc.parser.ModuleDependency
          extended by xtc.parser.ModuleInstantiation
All Implemented Interfaces:
java.lang.Iterable<java.lang.Object>, Locatable

public class ModuleInstantiation
extends ModuleDependency

A grammar module instantiation.

Version:
$Revision: 1.6 $
Author:
Robert Grimm

Field Summary
 
Fields inherited from class xtc.parser.ModuleDependency
arguments, module, target
 
Constructor Summary
ModuleInstantiation(ModuleName module, ModuleList arguments, ModuleName target)
          Create a new module instantiation.
 
Method Summary
 boolean isInstantiation()
          Determine whether this dependency is a module instantiation.
 
Methods inherited from class xtc.parser.ModuleDependency
equals, hashCode, isConsistentWith, isImport, isModification, rename, visibleName
 
Methods inherited from class xtc.tree.Node
add, add, addAll, addAll, addAll, addAll, addAllTo, addNode, contains, get, getBoolean, getBooleanProperty, getGeneric, getList, getLocation, getName, getNode, getProperty, getString, getStringProperty, getTokenText, hasLocation, hasName, hasProperty, hasTraversal, hasVariable, indexOf, isAnnotation, isEmpty, isGeneric, isList, isToken, iterator, lastIndexOf, properties, remove, removeProperty, set, setLocation, setLocation, setProperty, size, strip, toAnnotation, toList, toString, toToken, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModuleInstantiation

public ModuleInstantiation(ModuleName module,
                           ModuleList arguments,
                           ModuleName target)
Create a new module instantiation.

Parameters:
module - The module name.
arguments - The arguments.
target - The target module name.
Method Detail

isInstantiation

public boolean isInstantiation()
Description copied from class: ModuleDependency
Determine whether this dependency is a module instantiation.

Overrides:
isInstantiation in class ModuleDependency
Returns:
true if this dependency is an instantiation.


Copyright © 2012. All Rights Reserved.