Java Code Examples for com.google.javascript.rhino.JSDocInfo#getTemplateTypeName()

The following examples show how to use com.google.javascript.rhino.JSDocInfo#getTemplateTypeName() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Closure_90_FunctionTypeBuilder_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Infer the template type from the doc info.
 */
FunctionTypeBuilder inferTemplateTypeName(@Nullable JSDocInfo info) {
  if (info != null) {
    templateTypeName = info.getTemplateTypeName();
    typeRegistry.setTemplateTypeName(templateTypeName);
  }
  return this;
}
 
Example 2
Source File: Closure_90_FunctionTypeBuilder_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Infer the template type from the doc info.
 */
FunctionTypeBuilder inferTemplateTypeName(@Nullable JSDocInfo info) {
  if (info != null) {
    templateTypeName = info.getTemplateTypeName();
    typeRegistry.setTemplateTypeName(templateTypeName);
  }
  return this;
}
 
Example 3
Source File: Closure_41_FunctionTypeBuilder_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Infer the template type from the doc info.
 */
FunctionTypeBuilder inferTemplateTypeName(@Nullable JSDocInfo info) {
  if (info != null) {
    templateTypeName = info.getTemplateTypeName();
    typeRegistry.setTemplateTypeName(templateTypeName);
  }
  return this;
}
 
Example 4
Source File: Closure_41_FunctionTypeBuilder_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Infer the template type from the doc info.
 */
FunctionTypeBuilder inferTemplateTypeName(@Nullable JSDocInfo info) {
  if (info != null) {
    templateTypeName = info.getTemplateTypeName();
    typeRegistry.setTemplateTypeName(templateTypeName);
  }
  return this;
}