JS parser minor: removed broken @see in javadoc
This commit is contained in:
@@ -76,10 +76,7 @@ import java.util.MissingResourceException;
|
|||||||
* Some aspects of script execution, such as type conversions and
|
* Some aspects of script execution, such as type conversions and
|
||||||
* object creation, may be accessed directly through methods of
|
* object creation, may be accessed directly through methods of
|
||||||
* Context.
|
* Context.
|
||||||
*
|
|
||||||
* @see Scriptable
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class Context {
|
public class Context {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -87,8 +84,6 @@ public class Context {
|
|||||||
*
|
*
|
||||||
* Note that the Context must be associated with a thread before
|
* Note that the Context must be associated with a thread before
|
||||||
* it can be used to execute a script.
|
* it can be used to execute a script.
|
||||||
*
|
|
||||||
* @see org.mozilla.javascript.Context#enter
|
|
||||||
*/
|
*/
|
||||||
public Context() {
|
public Context() {
|
||||||
setLanguageVersion(VERSION_DEFAULT);
|
setLanguageVersion(VERSION_DEFAULT);
|
||||||
@@ -118,8 +113,6 @@ public class Context {
|
|||||||
* finally { Context.exit(); }
|
* finally { Context.exit(); }
|
||||||
* </pre>
|
* </pre>
|
||||||
* @return a Context associated with the current thread
|
* @return a Context associated with the current thread
|
||||||
* @see org.mozilla.javascript.Context#getCurrentContext
|
|
||||||
* @see org.mozilla.javascript.Context#exit
|
|
||||||
*/
|
*/
|
||||||
public static Context enter() {
|
public static Context enter() {
|
||||||
return enter(null);
|
return enter(null);
|
||||||
@@ -179,8 +172,6 @@ public class Context {
|
|||||||
* Once the current thread no longer has an associated Context,
|
* Once the current thread no longer has an associated Context,
|
||||||
* it cannot be used to execute JavaScript until it is again associated
|
* it cannot be used to execute JavaScript until it is again associated
|
||||||
* with a Context.
|
* with a Context.
|
||||||
*
|
|
||||||
* @see org.mozilla.javascript.Context#enter
|
|
||||||
*/
|
*/
|
||||||
public static void exit() {
|
public static void exit() {
|
||||||
boolean released = false;
|
boolean released = false;
|
||||||
@@ -206,8 +197,6 @@ public class Context {
|
|||||||
* @return the Context associated with the current thread, or
|
* @return the Context associated with the current thread, or
|
||||||
* null if no context is associated with the current
|
* null if no context is associated with the current
|
||||||
* thread.
|
* thread.
|
||||||
* @see org.mozilla.javascript.Context#enter
|
|
||||||
* @see org.mozilla.javascript.Context#exit
|
|
||||||
*/
|
*/
|
||||||
public static Context getCurrentContext() {
|
public static Context getCurrentContext() {
|
||||||
if (threadLocalCx != null) {
|
if (threadLocalCx != null) {
|
||||||
@@ -308,8 +297,6 @@ public class Context {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the current error reporter.
|
* Get the current error reporter.
|
||||||
*
|
|
||||||
* @see org.mozilla.javascript.ErrorReporter
|
|
||||||
*/
|
*/
|
||||||
public ErrorReporter getErrorReporter() {
|
public ErrorReporter getErrorReporter() {
|
||||||
return errorReporter;
|
return errorReporter;
|
||||||
@@ -319,7 +306,6 @@ public class Context {
|
|||||||
* Change the current error reporter.
|
* Change the current error reporter.
|
||||||
*
|
*
|
||||||
* @return the previous error reporter
|
* @return the previous error reporter
|
||||||
* @see org.mozilla.javascript.ErrorReporter
|
|
||||||
*/
|
*/
|
||||||
public ErrorReporter setErrorReporter(ErrorReporter reporter) {
|
public ErrorReporter setErrorReporter(ErrorReporter reporter) {
|
||||||
errorReporter = reporter;
|
errorReporter = reporter;
|
||||||
@@ -347,7 +333,6 @@ public class Context {
|
|||||||
* @param lineno the starting line number
|
* @param lineno the starting line number
|
||||||
* @param lineSource the text of the line (may be null)
|
* @param lineSource the text of the line (may be null)
|
||||||
* @param lineOffset the offset into lineSource where problem was detected
|
* @param lineOffset the offset into lineSource where problem was detected
|
||||||
* @see org.mozilla.javascript.ErrorReporter
|
|
||||||
*/
|
*/
|
||||||
public static void reportWarning(String message, String sourceName,
|
public static void reportWarning(String message, String sourceName,
|
||||||
int lineno, String lineSource,
|
int lineno, String lineSource,
|
||||||
@@ -366,7 +351,6 @@ public class Context {
|
|||||||
* @param lineno the starting line number
|
* @param lineno the starting line number
|
||||||
* @param lineSource the text of the line (may be null)
|
* @param lineSource the text of the line (may be null)
|
||||||
* @param lineOffset the offset into lineSource where problem was detected
|
* @param lineOffset the offset into lineSource where problem was detected
|
||||||
* @see org.mozilla.javascript.ErrorReporter
|
|
||||||
*/
|
*/
|
||||||
public static void reportError(String message, String sourceName,
|
public static void reportError(String message, String sourceName,
|
||||||
int lineno, String lineSource,
|
int lineno, String lineSource,
|
||||||
|
|||||||
@@ -46,8 +46,6 @@ import java.util.Map;
|
|||||||
*
|
*
|
||||||
* It is based on the C source files jsscan.c and jsscan.h
|
* It is based on the C source files jsscan.c and jsscan.h
|
||||||
* in the jsref package.
|
* in the jsref package.
|
||||||
*
|
|
||||||
* @see org.mozilla.javascript.Parser
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class TokenStream {
|
public class TokenStream {
|
||||||
|
|||||||
Reference in New Issue
Block a user