net.janino
Class Java.SwitchBlockStatementGroup

java.lang.Object
  |
  +--net.janino.Java.Located
        |
        +--net.janino.Java.SwitchBlockStatementGroup
All Implemented Interfaces:
Java.Locatable
Enclosing class:
Java

public static class Java.SwitchBlockStatementGroup
extends net.janino.Java.Located


Constructor Summary
Java.SwitchBlockStatementGroup(Scanner.Location location)
           
 
Method Summary
 void addDefaultSwitchLabel()
           
 void addSwitchLabel(Java.Rvalue value)
           
 Scanner.Location getLocation()
           
 void setBlockStatements(java.util.Vector blockStatements)
           
 void throwCompileException(java.lang.String message)
           
 void throwParseException(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java.SwitchBlockStatementGroup

public Java.SwitchBlockStatementGroup(Scanner.Location location)
Method Detail

addSwitchLabel

public void addSwitchLabel(Java.Rvalue value)

addDefaultSwitchLabel

public void addDefaultSwitchLabel()
                           throws Parser.ParseException

setBlockStatements

public void setBlockStatements(java.util.Vector blockStatements)

getLocation

public Scanner.Location getLocation()
Specified by:
getLocation in interface Java.Locatable

throwParseException

public void throwParseException(java.lang.String message)
                         throws Parser.ParseException
Specified by:
throwParseException in interface Java.Locatable

throwCompileException

public void throwCompileException(java.lang.String message)
                           throws Java.CompileException
Specified by:
throwCompileException in interface Java.Locatable