Package hydra.java.syntax
Class SwitchRule_Body.Throw
- java.lang.Object
-
- hydra.java.syntax.SwitchRule_Body
-
- hydra.java.syntax.SwitchRule_Body.Throw
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SwitchRule_Body>
- Enclosing class:
- SwitchRule_Body
public static final class SwitchRule_Body.Throw extends SwitchRule_Body implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hydra.java.syntax.SwitchRule_Body
SwitchRule_Body.Block, SwitchRule_Body.Expression, SwitchRule_Body.PartialVisitor<R>, SwitchRule_Body.Throw, SwitchRule_Body.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description ThrowStatementvalue-
Fields inherited from class hydra.java.syntax.SwitchRule_Body
BLOCK, EXPRESSION, THROW, TYPE_
-
-
Constructor Summary
Constructors Constructor Description Throw(ThrowStatement value)Constructs an immutableSwitchRule_Body.Throw.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(SwitchRule_Body.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(SwitchRule_Body other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
value
public final ThrowStatement value
-
-
Constructor Detail
-
Throw
public Throw(ThrowStatement value)
Constructs an immutableSwitchRule_Body.Throw.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(SwitchRule_Body other)
- Specified by:
compareToin interfacejava.lang.Comparable<SwitchRule_Body>
-
accept
public <R> R accept(SwitchRule_Body.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classSwitchRule_Body
-
-