xtc.parser
Class ModuleModification

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

public class ModuleModification
extends ModuleDependency

A grammar module modification.

Version:
$Revision: 1.5 $
Author:
Robert Grimm

Field Summary
 
Fields inherited from class xtc.parser.ModuleDependency
arguments, module, target
 
Constructor Summary
ModuleModification(ModuleName module, ModuleList arguments, ModuleName target)
          Create a new module modification.
 
Method Summary
 boolean isModification()
          Determine whether this dependency is a module modification.
 
Methods inherited from class xtc.parser.ModuleDependency
equals, hashCode, isConsistentWith, isImport, isInstantiation, 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

ModuleModification

public ModuleModification(ModuleName module,
                          ModuleList arguments,
                          ModuleName target)
Create a new module modification.

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

isModification

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

Overrides:
isModification in class ModuleDependency
Returns:
true if this dependency is a modification.


Copyright © 2012. All Rights Reserved.