Package hydra.ext.scala.syntax
Class Decl_Given
- java.lang.Object
-
- hydra.ext.scala.syntax.Decl_Given
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Decl_Given>
public class Decl_Given extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Decl_Given>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Decl_Given(ConsList<Mod> mods, Data_Name name, ConsList<Type_Param> tparams, ConsList<ConsList<Data_Param>> sparams, Type decltpe)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Decl_Given other)booleanequals(java.lang.Object other)inthashCode()Decl_GivenwithDecltpe(Type decltpe)Decl_GivenwithMods(ConsList<Mod> mods)Decl_GivenwithName(Data_Name name)Decl_GivenwithSparams(ConsList<ConsList<Data_Param>> sparams)Decl_GivenwithTparams(ConsList<Type_Param> tparams)
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
-
MODS
public static final Name MODS
-
NAME
public static final Name NAME
-
TPARAMS
public static final Name TPARAMS
-
SPARAMS
public static final Name SPARAMS
-
DECLTPE
public static final Name DECLTPE
-
name
public final Data_Name name
-
tparams
public final ConsList<Type_Param> tparams
-
sparams
public final ConsList<ConsList<Data_Param>> sparams
-
decltpe
public final Type decltpe
-
-
Constructor Detail
-
Decl_Given
public Decl_Given(ConsList<Mod> mods, Data_Name name, ConsList<Type_Param> tparams, ConsList<ConsList<Data_Param>> sparams, Type decltpe)
-
-
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(Decl_Given other)
- Specified by:
compareToin interfacejava.lang.Comparable<Decl_Given>
-
withMods
public Decl_Given withMods(ConsList<Mod> mods)
-
withName
public Decl_Given withName(Data_Name name)
-
withTparams
public Decl_Given withTparams(ConsList<Type_Param> tparams)
-
withSparams
public Decl_Given withSparams(ConsList<ConsList<Data_Param>> sparams)
-
withDecltpe
public Decl_Given withDecltpe(Type decltpe)
-
-