Ejemplo n.º 1
0
 public static CastDefinitionSyntax CastDefinition(FileScope pScope, TypedIdentifierSyntax pFromType, BlockSyntax pBody, TypeSyntax pToType)
 {
     return(new CastDefinitionSyntax(pScope, pFromType, pBody, pToType));
 }
Ejemplo n.º 2
0
 internal CastDefinitionSyntax(FileScope pScope, TypedIdentifierSyntax pFromType, BlockSyntax pBody, TypeSyntax pToType)
     : base(pScope, "", new List <TypeSyntax>() { pToType }, new List <TypedIdentifierSyntax>() { pFromType }, pBody, false)
 {
     Name = MethodCache.CAST_METHOD;
 }