com.google.javascript.jscomp.InstrumentationOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of closure-compiler-linter Show documentation
Show all versions of closure-compiler-linter Show documentation
Closure Compiler is a JavaScript optimizing compiler. It parses your
JavaScript, analyzes it, removes dead code and rewrites and minimizes
what's left. It also checks syntax, variable references, and types, and
warns about common JavaScript pitfalls. It is used in many of Google's
JavaScript apps, including Gmail, Google Web Search, Google Maps, and
Google Docs.
This binary checks for style issues such as incorrect or missing JSDoc
usage, and missing goog.require() statements. It does not do more advanced
checks such as typechecking.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: com/google/javascript/jscomp/instrumentation_template.proto
package com.google.javascript.jscomp;
public interface InstrumentationOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string report_defined = 1;
/**
* optional string report_defined = 1;
*
*
* name of function(ID = <numeric function id>);
* used to inform the harness about the contents of a module
*
*/
boolean hasReportDefined();
/**
* optional string report_defined = 1;
*
*
* name of function(ID = <numeric function id>);
* used to inform the harness about the contents of a module
*
*/
java.lang.String getReportDefined();
/**
* optional string report_defined = 1;
*
*
* name of function(ID = <numeric function id>);
* used to inform the harness about the contents of a module
*
*/
com.google.protobuf.ByteString
getReportDefinedBytes();
// optional string report_call = 2;
/**
* optional string report_call = 2;
*
*
* name of function(ID = <numeric function id>);
* used to inform the harness about a function call
*
*/
boolean hasReportCall();
/**
* optional string report_call = 2;
*
*
* name of function(ID = <numeric function id>);
* used to inform the harness about a function call
*
*/
java.lang.String getReportCall();
/**
* optional string report_call = 2;
*
*
* name of function(ID = <numeric function id>);
* used to inform the harness about a function call
*
*/
com.google.protobuf.ByteString
getReportCallBytes();
// optional string report_exit = 6;
/**
* optional string report_exit = 6;
*
*
* name of function(ID = <numeric function id>, VAL = <return value>);
* used to inform the harness about a function exit. Must return
* its second argument.
*
* @return VAL
*
*/
boolean hasReportExit();
/**
* optional string report_exit = 6;
*
*
* name of function(ID = <numeric function id>, VAL = <return value>);
* used to inform the harness about a function exit. Must return
* its second argument.
*
* @return VAL
*
*/
java.lang.String getReportExit();
/**
* optional string report_exit = 6;
*
*
* name of function(ID = <numeric function id>, VAL = <return value>);
* used to inform the harness about a function exit. Must return
* its second argument.
*
* @return VAL
*
*/
com.google.protobuf.ByteString
getReportExitBytes();
// repeated string declaration_to_remove = 3;
/**
* repeated string declaration_to_remove = 3;
*
*
* List of variable declarations in the application's source code
* that should be replaced by variables with the same name that are
* part of the instrumentation harness. The presence of these
* declarations in the original code allows debug UIs that access
* these variables to compile when the instrumentation pass is
* disabled.
*
*/
java.util.List
getDeclarationToRemoveList();
/**
* repeated string declaration_to_remove = 3;
*
*
* List of variable declarations in the application's source code
* that should be replaced by variables with the same name that are
* part of the instrumentation harness. The presence of these
* declarations in the original code allows debug UIs that access
* these variables to compile when the instrumentation pass is
* disabled.
*
*/
int getDeclarationToRemoveCount();
/**
* repeated string declaration_to_remove = 3;
*
*
* List of variable declarations in the application's source code
* that should be replaced by variables with the same name that are
* part of the instrumentation harness. The presence of these
* declarations in the original code allows debug UIs that access
* these variables to compile when the instrumentation pass is
* disabled.
*
*/
java.lang.String getDeclarationToRemove(int index);
/**
* repeated string declaration_to_remove = 3;
*
*
* List of variable declarations in the application's source code
* that should be replaced by variables with the same name that are
* part of the instrumentation harness. The presence of these
* declarations in the original code allows debug UIs that access
* these variables to compile when the instrumentation pass is
* disabled.
*
*/
com.google.protobuf.ByteString
getDeclarationToRemoveBytes(int index);
// repeated string init = 4;
/**
* repeated string init = 4;
*
*
* Definition of functions used to report module contents and
* function calls. Will be added to the start of the app's main
* module.
*
*/
java.util.List
getInitList();
/**
* repeated string init = 4;
*
*
* Definition of functions used to report module contents and
* function calls. Will be added to the start of the app's main
* module.
*
*/
int getInitCount();
/**
* repeated string init = 4;
*
*
* Definition of functions used to report module contents and
* function calls. Will be added to the start of the app's main
* module.
*
*/
java.lang.String getInit(int index);
/**
* repeated string init = 4;
*
*
* Definition of functions used to report module contents and
* function calls. Will be added to the start of the app's main
* module.
*
*/
com.google.protobuf.ByteString
getInitBytes(int index);
// optional string app_name_setter = 5;
/**
* optional string app_name_setter = 5;
*
*
* name of function(<string>);
* used to inform the harness about the app name
*
*/
boolean hasAppNameSetter();
/**
* optional string app_name_setter = 5;
*
*
* name of function(<string>);
* used to inform the harness about the app name
*
*/
java.lang.String getAppNameSetter();
/**
* optional string app_name_setter = 5;
*
*
* name of function(<string>);
* used to inform the harness about the app name
*
*/
com.google.protobuf.ByteString
getAppNameSetterBytes();
}