in scalasig/scalasig/src/main/scala/scala/meta/internal/scalasig/Tags.scala [209:255]
def entryTag(entry: Entry): Int = {
entry match {
case _: TermName => TERMname
case _: TypeName => TYPEname
case NoSymbol => NONEsym
case _: TypeSymbol => TYPEsym
case _: AliasSymbol => ALIASsym
case _: ClassSymbol => CLASSsym
case _: ModuleSymbol => MODULEsym
case _: ValSymbol => VALsym
case _: ExtRef => EXTref
case _: ExtModClassRef => EXTMODCLASSref
case _: Children => CHILDREN
case NoType => NOtpe
case NoPrefix => NOPREFIXtpe
case _: ThisType => THIStpe
case _: SingleType => SINGLEtpe
case _: ConstantType => CONSTANTtpe
case _: TypeRef => TYPEREFtpe
case _: TypeBounds => TYPEBOUNDStpe
case _: RefinedType => REFINEDtpe
case _: ClassInfoType => CLASSINFOtpe
case _: MethodType => METHODtpe
case _: PolyType => POLYtpe
case _: SuperType => SUPERtpe
case _: AnnotatedType => ANNOTATEDtpe
case _: ExistentialType => EXISTENTIALtpe
case UnitLit => LITERALunit
case _: BooleanLit => LITERALboolean
case _: ByteLit => LITERALbyte
case _: ShortLit => LITERALshort
case _: CharLit => LITERALchar
case _: IntLit => LITERALint
case _: LongLit => LITERALlong
case _: FloatLit => LITERALfloat
case _: DoubleLit => LITERALdouble
case _: StringLit => LITERALstring
case NullLit => LITERALnull
case _: ClassLit => LITERALclass
case _: EnumLit => LITERALenum
case _: SymAnnot => SYMANNOT
case _: AnnotInfo => ANNOTINFO
case _: AnnotArgArray => ANNOTARGARRAY
case _: Tree => TREE
case _: Modifiers => MODIFIERS
}
}