當前位置: 首頁>>代碼示例>>Java>>正文


Java Marker類代碼示例

本文整理匯總了Java中com.intellij.lang.PsiBuilder.Marker的典型用法代碼示例。如果您正苦於以下問題:Java Marker類的具體用法?Java Marker怎麽用?Java Marker使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


Marker類屬於com.intellij.lang.PsiBuilder包,在下文中一共展示了Marker類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: nakedTerm_0_1

import com.intellij.lang.PsiBuilder.Marker; //導入依賴的package包/類
private static boolean nakedTerm_0_1(PsiBuilder b, int l) {
  if (!recursion_guard_(b, l, "nakedTerm_0_1")) return false;
  boolean r;
  Marker m = enter_section_(b);
  r = nakedTerm_0_1_0(b, l + 1);
  int c = current_position_(b);
  while (r) {
    if (!nakedTerm_0_1_0(b, l + 1)) break;
    if (!empty_element_parsed_guard_(b, "nakedTerm_0_1", c)) break;
    c = current_position_(b);
  }
  exit_section_(b, m, null, r);
  return r;
}
 
開發者ID:ceddy4395,項目名稱:Goal-Intellij-Plugin,代碼行數:15,代碼來源:ActionSpecParser.java

示例2: handlerLabeledParametersCallExpression_0_2_0_1_0_0_3_0_0

import com.intellij.lang.PsiBuilder.Marker; //導入依賴的package包/類
private static boolean handlerLabeledParametersCallExpression_0_2_0_1_0_0_3_0_0(PsiBuilder b, int l) {
  if (!recursion_guard_(b, l, "handlerLabeledParametersCallExpression_0_2_0_1_0_0_3_0_0")) return false;
  boolean r;
  Marker m = enter_section_(b);
  r = consumeTokenFast(b, LAND);
  if (!r) r = consumeTokenFast(b, LOR);
  if (!r) r = consumeTokenFast(b, COMMA);
  exit_section_(b, m, null, r);
  return r;
}
 
開發者ID:ant-druha,項目名稱:AppleScript-IDEA,代碼行數:11,代碼來源:AppleScriptParser.java

示例3: root

import com.intellij.lang.PsiBuilder.Marker; //導入依賴的package包/類
static boolean root(PsiBuilder b, int l) {
  if (!recursion_guard_(b, l, "root")) return false;
  boolean r;
  Marker m = enter_section_(b, l, _NONE_);
  r = consumeToken(b, CRLF);
  if (!r) r = root_1(b, l + 1);
  exit_section_(b, l, m, r, false, recover_root_parser_);
  return r;
}
 
開發者ID:AlexanderBartash,項目名稱:hybris-integration-intellij-idea-plugin,代碼行數:10,代碼來源:ImpexParser.java

示例4: string

import com.intellij.lang.PsiBuilder.Marker; //導入依賴的package包/類
public static boolean string(PsiBuilder b, int l) {
  if (!recursion_guard_(b, l, "string")) return false;
  if (!nextTokenIs(b, "<string>", DQSTRING, SQSTRING)) return false;
  boolean r;
  Marker m = enter_section_(b, l, _NONE_, STRING, "<string>");
  r = consumeToken(b, DQSTRING);
  if (!r) r = consumeToken(b, SQSTRING);
  exit_section_(b, l, m, r, false, null);
  return r;
}
 
開發者ID:ceddy4395,項目名稱:Goal-Intellij-Plugin,代碼行數:11,代碼來源:ActionSpecParser.java

示例5: activateCommandExpression

import com.intellij.lang.PsiBuilder.Marker; //導入依賴的package包/類
public static boolean activateCommandExpression(PsiBuilder b, int l) {
  if (!recursion_guard_(b, l, "activateCommandExpression")) return false;
  if (!nextTokenIsFast(b, ACTIVATE)) return false;
  boolean r;
  Marker m = enter_section_(b);
  r = consumeTokenFast(b, ACTIVATE);
  r = r && activateCommandExpression_1(b, l + 1);
  exit_section_(b, m, ACTIVATE_COMMAND_EXPRESSION, r);
  return r;
}
 
開發者ID:ant-druha,項目名稱:AppleScript-IDEA,代碼行數:11,代碼來源:AppleScriptParser.java

示例6: parameter_0

import com.intellij.lang.PsiBuilder.Marker; //導入依賴的package包/類
private static boolean parameter_0(PsiBuilder b, int l) {
  if (!recursion_guard_(b, l, "parameter_0")) return false;
  boolean r;
  Marker m = enter_section_(b);
  r = consumeToken(b, HEADER_PARAMETER_NAME);
  if (!r) r = macro_usage_dec(b, l + 1);
  if (!r) r = consumeToken(b, DOCUMENT_ID);
  exit_section_(b, m, null, r);
  return r;
}
 
開發者ID:AlexanderBartash,項目名稱:hybris-integration-intellij-idea-plugin,代碼行數:11,代碼來源:ImpexParser.java

示例7: referenceIdBeforeParamLabel_1

import com.intellij.lang.PsiBuilder.Marker; //導入依賴的package包/類
private static boolean referenceIdBeforeParamLabel_1(PsiBuilder b, int l) {
  if (!recursion_guard_(b, l, "referenceIdBeforeParamLabel_1")) return false;
  boolean r;
  Marker m = enter_section_(b, l, _AND_);
  r = handlerParameterLabel(b, l + 1);
  exit_section_(b, l, m, r, false, null);
  return r;
}
 
開發者ID:ant-druha,項目名稱:AppleScript-IDEA,代碼行數:9,代碼來源:AppleScriptParser.java

示例8: templateVariable_2_0

import com.intellij.lang.PsiBuilder.Marker; //導入依賴的package包/類
private static boolean templateVariable_2_0(PsiBuilder b, int l) {
  if (!recursion_guard_(b, l, "templateVariable_2_0")) return false;
  boolean r;
  Marker m = enter_section_(b);
  r = consumeToken(b, TEMPLATE_VARIABLE_SEPARATOR);
  r = r && templateVariableExpressionG(b, l + 1);
  r = r && templateVariable_2_0_2(b, l + 1);
  exit_section_(b, m, null, r);
  return r;
}
 
開發者ID:xylo,項目名稱:intellij-postfix-templates,代碼行數:11,代碼來源:CptParser.java

示例9: identifier_chain_1_0_0

import com.intellij.lang.PsiBuilder.Marker; //導入依賴的package包/類
private static boolean identifier_chain_1_0_0(PsiBuilder b, int l) {
  if (!recursion_guard_(b, l, "identifier_chain_1_0_0")) return false;
  boolean r;
  Marker m = enter_section_(b);
  r = identifier_chain_1_0_0_0(b, l + 1);
  r = r && identifier_chain_1_0_0_1(b, l + 1);
  exit_section_(b, m, null, r);
  return r;
}
 
開發者ID:AlexanderBartash,項目名稱:hybris-integration-intellij-idea-plugin,代碼行數:10,代碼來源:FlexibleSearchParser.java

示例10: handlerLabeledParametersCallExpression_1_1_0_1

import com.intellij.lang.PsiBuilder.Marker; //導入依賴的package包/類
private static boolean handlerLabeledParametersCallExpression_1_1_0_1(PsiBuilder b, int l) {
  if (!recursion_guard_(b, l, "handlerLabeledParametersCallExpression_1_1_0_1")) return false;
  boolean r;
  Marker m = enter_section_(b);
  r = consumeTokenFast(b, WITHOUT);
  r = r && labelForFalseParam(b, l + 1);
  r = r && handlerLabeledParametersCallExpression_1_1_0_1_2(b, l + 1);
  r = r && handlerLabeledParametersCallExpression_1_1_0_1_3(b, l + 1);
  exit_section_(b, m, null, r);
  return r;
}
 
開發者ID:ant-druha,項目名稱:AppleScript-IDEA,代碼行數:12,代碼來源:AppleScriptParser.java

示例11: textItemDelimitersProperty

import com.intellij.lang.PsiBuilder.Marker; //導入依賴的package包/類
public static boolean textItemDelimitersProperty(PsiBuilder b, int l) {
  if (!recursion_guard_(b, l, "textItemDelimitersProperty")) return false;
  if (!nextTokenIs(b, TEXT_ITEM_DELIMETERS)) return false;
  boolean r;
  Marker m = enter_section_(b);
  r = consumeToken(b, TEXT_ITEM_DELIMETERS);
  exit_section_(b, m, TEXT_ITEM_DELIMITERS_PROPERTY, r);
  return r;
}
 
開發者ID:ant-druha,項目名稱:AppleScript-IDEA,代碼行數:10,代碼來源:AppleScriptParser.java

示例12: value_line_0

import com.intellij.lang.PsiBuilder.Marker; //導入依賴的package包/類
private static boolean value_line_0(PsiBuilder b, int l) {
  if (!recursion_guard_(b, l, "value_line_0")) return false;
  boolean r;
  Marker m = enter_section_(b);
  r = consumeToken(b, VALUE_SUBTYPE);
  r = r && value_line_0_1(b, l + 1);
  exit_section_(b, m, null, r);
  return r;
}
 
開發者ID:AlexanderBartash,項目名稱:hybris-integration-intellij-idea-plugin,代碼行數:10,代碼來源:ImpexParser.java

示例13: useScriptingAdditionsStatement_2_0_0_0

import com.intellij.lang.PsiBuilder.Marker; //導入依賴的package包/類
private static boolean useScriptingAdditionsStatement_2_0_0_0(PsiBuilder b, int l) {
  if (!recursion_guard_(b, l, "useScriptingAdditionsStatement_2_0_0_0")) return false;
  boolean r;
  Marker m = enter_section_(b);
  r = consumeTokens(b, 0, WITH, IMPORTING);
  exit_section_(b, m, null, r);
  return r;
}
 
開發者ID:ant-druha,項目名稱:AppleScript-IDEA,代碼行數:9,代碼來源:AppleScriptParser.java

示例14: root_0

import com.intellij.lang.PsiBuilder.Marker; //導入依賴的package包/類
private static boolean root_0(PsiBuilder b, int l) {
  if (!recursion_guard_(b, l, "root_0")) return false;
  boolean r;
  Marker m = enter_section_(b);
  r = useClause(b, l + 1);
  int c = current_position_(b);
  while (r) {
    if (!useClause(b, l + 1)) break;
    if (!empty_element_parsed_guard_(b, "root_0", c)) break;
    c = current_position_(b);
  }
  exit_section_(b, m, null, r);
  return r;
}
 
開發者ID:ceddy4395,項目名稱:Goal-Intellij-Plugin,代碼行數:15,代碼來源:TestParser.java

示例15: CONST_DECLARATION

import com.intellij.lang.PsiBuilder.Marker; //導入依賴的package包/類
public static boolean CONST_DECLARATION(PsiBuilder b, int l) {
  if (!recursion_guard_(b, l, "CONST_DECLARATION")) return false;
  if (!nextTokenIs(b, CONST)) return false;
  boolean r;
  Marker m = enter_section_(b);
  r = consumeTokens(b, 0, CONST, IDENT, COLON);
  r = r && TYPE_DECLARATION(b, l + 1);
  r = r && CONST_DECLARATION_4(b, l + 1);
  exit_section_(b, m, CONST_DECLARATION, r);
  return r;
}
 
開發者ID:datathings,項目名稱:greycat-idea-plugin,代碼行數:12,代碼來源:GCMParser.java


注:本文中的com.intellij.lang.PsiBuilder.Marker類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。