You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kde ten string by sel ziskat markem / programaticky a NodeTag by byl
traitNodeTag[CC]{
implicitdefdecoder:Decoder[CC]
}
objectNoteTag{
defwithName(name:String):NodeTag=???// tohle by se jedine muselo naimplementovat... ale jelikoz je to runtime vec, tak by to klidne mohla byt reflexe ci co ...
}
tag by byl ten decoder svazanej s tim tagem a tim by se ti tenhle hroznej match
NodeTag.withName(key) match {
caseNodeTag.T_A_Const=> c.as[A_Const]
caseNodeTag.T_A_Expr=> c.as[A_Expr]
// ... and many many more
zmenil na oneliner
NodeTag.withName(key).decoder(c)
The text was updated successfully, but these errors were encountered:
Kdyby se nahradil
kde ten string by sel ziskat markem / programaticky a
NodeTag
by byltag by byl ten decoder svazanej s tim tagem a tim by se ti tenhle hroznej match
zmenil na oneliner
NodeTag.withName(key).decoder(c)
The text was updated successfully, but these errors were encountered: