public void VisitNode(JSTypeOfExpression toe) { var ct = GetCachedTypeOf(toe.Type); if (ct != null) { ParentNode.ReplaceChild(toe, ct); VisitReplacement(ct); } else { VisitChildren(toe); } }
public void VisitNode(JSTypeOfExpression toe) { Output.Identifier( toe.Type, ReferenceContext, IncludeTypeParens.Peek() ); if (toe.Type is GenericParameter) { // Generic parameters are type objects, not public interfaces } else { Output.Dot(); Output.Identifier("__Type__"); } }
public void VisitNode(JSTypeOfExpression toe) { // TODO: Cache these types too. VisitChildren(toe); }