---
title: "ScriptDoc的Notation规则"
author: "robinqu"
date: "2010-01-23T19:37:12Z"
tags: []
categories: ["Web前端"]
slug: "scriptdoc-notation"
draft: false
lastmod: "2010-01-23T19:37:12Z"
id: 578189
url: "https://robinqu.iteye.com/blog/578189"
---

这个还是蛮重要的，以前就一直很羡慕Java有一套标准来着：
转自：https://aptanastudio.tenderapp.com/faqs/using-code-assist/scriptdoc-tag-quick


> This page provides an at-a-glance reference for the tags for the Aptana ScriptDoc system. For comprehensive ScriptDoc tag information, including syntax and examples, see the [scriptdoc comprehensive tag reference] page.
> Tag 	Description
> [@alias] 	ID for a class or function.
> [@author] 	Author of a JavaScript file or function.
> [@classdescription] 	Description of the class (if applicable).
> [@constructor] 	Signifies that a function is a constructor for a class.
> [@deprecated] 	Signifies that a function or a property has been deprecated.
> [@exception] 	Specifies the type of exception thrown by a function.
> [@id] 	Unique identifier for a function or property.
> [@inherits] 	Indicated one "class" derives from another.
> [@memberof] 	Signifies that a function is a member of the specified class.
> [@method] 	Signifies that a function is a method of a class, if applicable.
> [@namespace] 	Creates the link between the namespace of a library file and an external .sdoc file.
> [@param] 	Use @param to tag each parameter for a function.
> [@projectdescription] 	Gives a description of the JavaScript file.
> [@return] 	Specifies information about the return value(s) of a function.
> [@sdoc] 	Defines the path to an external .sdoc file for a library file.
> [@see] 	Links to another related class or function.
> [@since] 	Specifies since which version the library, function, or property became valid.
> [@type] 	Specifies what data type a property is.
> [@version] 	Specifies the version number of the JavaScript file or class.