Package hydra.ext.python.syntax
Class CompoundStatement.Match
- java.lang.Object
-
- hydra.ext.python.syntax.CompoundStatement
-
- hydra.ext.python.syntax.CompoundStatement.Match
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- CompoundStatement
public static final class CompoundStatement.Match extends CompoundStatement implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hydra.ext.python.syntax.CompoundStatement
CompoundStatement.ClassDef, CompoundStatement.For, CompoundStatement.Function, CompoundStatement.If, CompoundStatement.Match, CompoundStatement.PartialVisitor<R>, CompoundStatement.Try, CompoundStatement.Visitor<R>, CompoundStatement.While, CompoundStatement.With
-
-
Field Summary
Fields Modifier and Type Field Description MatchStatement
value
-
Fields inherited from class hydra.ext.python.syntax.CompoundStatement
FIELD_NAME_CLASS_DEF, FIELD_NAME_FOR, FIELD_NAME_FUNCTION, FIELD_NAME_IF, FIELD_NAME_MATCH, FIELD_NAME_TRY, FIELD_NAME_WHILE, FIELD_NAME_WITH, TYPE_NAME
-
-
Constructor Summary
Constructors Constructor Description Match(MatchStatement value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
accept(CompoundStatement.Visitor<R> visitor)
boolean
equals(java.lang.Object other)
int
hashCode()
-
-
-
Field Detail
-
value
public final MatchStatement value
-
-
Constructor Detail
-
Match
public Match(MatchStatement value)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
accept
public <R> R accept(CompoundStatement.Visitor<R> visitor)
- Specified by:
accept
in classCompoundStatement
-
-