Package hydra.ext.scala.meta
Class Defn_Macro
- java.lang.Object
-
- hydra.ext.scala.meta.Defn_Macro
-
- All Implemented Interfaces:
java.io.Serializable
public class Defn_Macro extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Data
body
Opt<Type>
decltpe
static Name
FIELD_NAME_BODY
static Name
FIELD_NAME_DECLTPE
static Name
FIELD_NAME_MODS
static Name
FIELD_NAME_NAME
static Name
FIELD_NAME_PARAMSS
static Name
FIELD_NAME_TPARAMS
java.util.List<Mod>
mods
Data_Name
name
java.util.List<java.util.List<Data_Param>>
paramss
java.util.List<Type_Param>
tparams
static Name
TYPE_NAME
-
Constructor Summary
Constructors Constructor Description Defn_Macro(java.util.List<Mod> mods, Data_Name name, java.util.List<Type_Param> tparams, java.util.List<java.util.List<Data_Param>> paramss, Opt<Type> decltpe, Data body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
Defn_Macro
withBody(Data body)
Defn_Macro
withDecltpe(Opt<Type> decltpe)
Defn_Macro
withMods(java.util.List<Mod> mods)
Defn_Macro
withName(Data_Name name)
Defn_Macro
withParamss(java.util.List<java.util.List<Data_Param>> paramss)
Defn_Macro
withTparams(java.util.List<Type_Param> tparams)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_MODS
public static final Name FIELD_NAME_MODS
-
FIELD_NAME_NAME
public static final Name FIELD_NAME_NAME
-
FIELD_NAME_TPARAMS
public static final Name FIELD_NAME_TPARAMS
-
FIELD_NAME_PARAMSS
public static final Name FIELD_NAME_PARAMSS
-
FIELD_NAME_DECLTPE
public static final Name FIELD_NAME_DECLTPE
-
FIELD_NAME_BODY
public static final Name FIELD_NAME_BODY
-
mods
public final java.util.List<Mod> mods
-
name
public final Data_Name name
-
tparams
public final java.util.List<Type_Param> tparams
-
paramss
public final java.util.List<java.util.List<Data_Param>> paramss
-
body
public final Data body
-
-
Constructor Detail
-
Defn_Macro
public Defn_Macro(java.util.List<Mod> mods, Data_Name name, java.util.List<Type_Param> tparams, java.util.List<java.util.List<Data_Param>> paramss, Opt<Type> decltpe, Data body)
-
-
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
-
withMods
public Defn_Macro withMods(java.util.List<Mod> mods)
-
withName
public Defn_Macro withName(Data_Name name)
-
withTparams
public Defn_Macro withTparams(java.util.List<Type_Param> tparams)
-
withParamss
public Defn_Macro withParamss(java.util.List<java.util.List<Data_Param>> paramss)
-
withDecltpe
public Defn_Macro withDecltpe(Opt<Type> decltpe)
-
withBody
public Defn_Macro withBody(Data body)
-
-