protected virtual void _visit( JsCommentStatement node ) { throw new NotImplementedException( "JsCommentStatement" ); }
public static JsCommentStatement getCommentStatement(string commentStr) { JsCommentStatement result = new JsCommentStatement(); if (commentStr != null) { result.Text = commentStr; } return result; }
protected override void _visit( JsCommentStatement node ) { if (node != null) { // Ignore comments } }
void _Visit(JsCommentStatement node) { Write(string.Format("/*{0}*/", node.Text), JsTokenType.Comment); }