org.millscript.millscript.expr
Class DirectiveExpr

java.lang.Object
  extended by org.millscript.millscript.expr.Expr<Action>
      extended by org.millscript.millscript.expr.DirectiveExpr
Direct Known Subclasses:
ImportExpr, PackageExpr, PragmaExpr

public abstract class DirectiveExpr
extends Expr<Action>

This class represents a directive expression. A directive expression is one that gives instructions to the compiler.


Constructor Summary
DirectiveExpr()
           
 
Method Summary
 Action compileIt()
          Always causes a general fault, as these expressions should not exist after compilation.
 
Methods inherited from class org.millscript.millscript.expr.Expr
arity, compile, isIntegerExpr, resolve, resolveList, setLineNumber, setOrigin, show, show
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectiveExpr

public DirectiveExpr()
Method Detail

compileIt

public Action compileIt()
Always causes a general fault, as these expressions should not exist after compilation.

Specified by:
compileIt in class Expr<Action>
Returns:
never returns, but has to return null to satisfy Java


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.