void checkNamingConvention(Token tok) { checkNamingConvention(tok, _CoreStringUtils.getIdentifierNamingConvention(tok.image)); }
final public BuiltinVariable BuiltinVariable() throws ParseException {Token dot, name; dot = jj_consume_token(DOT); name = jj_consume_token(ID); BuiltinVariable result = null; token_source.checkNamingConvention(name); TemplateModel parseTimeValue; String nameStr = name.image; if (nameStr.equals(BuiltinVariable.OUTPUT_FORMAT) || nameStr.equals(BuiltinVariable.OUTPUT_FORMAT_CC)) { parseTimeValue = new SimpleScalar(outputFormat.getName()); } else if (nameStr.equals(BuiltinVariable.AUTO_ESC) || nameStr.equals(BuiltinVariable.AUTO_ESC_CC)) { parseTimeValue = autoEscaping ? TemplateBooleanModel.TRUE : TemplateBooleanModel.FALSE; } else { parseTimeValue = null; } result = new BuiltinVariable(name, token_source, parseTimeValue); result.setLocation(template, dot, name); {if ("" != null) return result;} throw new Error("Missing return statement in function"); }
checkNamingConvention(tok, tokenNamingConvention); SwitchTo(newLexState); return; checkNamingConvention(tok, tokenNamingConvention);
final public PropertySetting Setting() throws ParseException {Token start, end, key; Expression value; start = jj_consume_token(SETTING); key = jj_consume_token(ID); jj_consume_token(EQUALS); value = Expression(); end = LooseDirectiveEnd(); token_source.checkNamingConvention(key); PropertySetting result = new PropertySetting(key, token_source, value, template.getConfiguration()); result.setLocation(template, start, end); {if ("" != null) return result;} throw new Error("Missing return statement in function"); }
encodingExp = exp; } else if (attString.equalsIgnoreCase("ignore_missing") || attString.equals("ignoreMissing")) { token_source.checkNamingConvention(att); ignoreMissingExp = exp; } else {
jj_consume_token(EQUALS); exp = Expression(); token_source.checkNamingConvention(key);
jj_consume_token(BUILT_IN); t = jj_consume_token(ID); token_source.checkNamingConvention(t); result = BuiltIn.newBuiltIn(incompatibleImprovements, lhoExp, t, token_source); result.setLocation(template, lhoExp, t);
void checkNamingConvention(Token tok) { checkNamingConvention(tok, _CoreStringUtils.getIdentifierNamingConvention(tok.image)); }
void checkNamingConvention(Token tok) { checkNamingConvention(tok, _CoreStringUtils.getIdentifierNamingConvention(tok.image)); }
final public BuiltinVariable BuiltinVariable() throws ParseException {Token dot, name; dot = jj_consume_token(DOT); name = jj_consume_token(ID); BuiltinVariable result = null; token_source.checkNamingConvention(name); TemplateModel parseTimeValue; String nameStr = name.image; if (nameStr.equals(BuiltinVariable.OUTPUT_FORMAT) || nameStr.equals(BuiltinVariable.OUTPUT_FORMAT_CC)) { parseTimeValue = new SimpleScalar(outputFormat.getName()); } else if (nameStr.equals(BuiltinVariable.AUTO_ESC) || nameStr.equals(BuiltinVariable.AUTO_ESC_CC)) { parseTimeValue = autoEscaping ? TemplateBooleanModel.TRUE : TemplateBooleanModel.FALSE; } else { parseTimeValue = null; } result = new BuiltinVariable(name, token_source, parseTimeValue); result.setLocation(template, dot, name); {if ("" != null) return result;} throw new Error("Missing return statement in function"); }
final public BuiltinVariable BuiltinVariable() throws ParseException {Token dot, name; dot = jj_consume_token(DOT); name = jj_consume_token(ID); BuiltinVariable result = null; token_source.checkNamingConvention(name); TemplateModel parseTimeValue; String nameStr = name.image; if (nameStr.equals(BuiltinVariable.OUTPUT_FORMAT) || nameStr.equals(BuiltinVariable.OUTPUT_FORMAT_CC)) { parseTimeValue = new SimpleScalar(outputFormat.getName()); } else if (nameStr.equals(BuiltinVariable.AUTO_ESC) || nameStr.equals(BuiltinVariable.AUTO_ESC_CC)) { parseTimeValue = autoEscaping ? TemplateBooleanModel.TRUE : TemplateBooleanModel.FALSE; } else { parseTimeValue = null; } result = new BuiltinVariable(name, token_source, parseTimeValue); result.setLocation(template, dot, name); {if ("" != null) return result;} throw new Error("Missing return statement in function"); }
checkNamingConvention(tok, tokenNamingConvention); SwitchTo(newLexState); return; checkNamingConvention(tok, tokenNamingConvention);
checkNamingConvention(tok, tokenNamingConvention); SwitchTo(newLexState); return; checkNamingConvention(tok, tokenNamingConvention);
final public PropertySetting Setting() throws ParseException {Token start, end, key; Expression value; start = jj_consume_token(SETTING); key = jj_consume_token(ID); jj_consume_token(EQUALS); value = Expression(); end = LooseDirectiveEnd(); token_source.checkNamingConvention(key); PropertySetting result = new PropertySetting(key, token_source, value, template.getConfiguration()); result.setLocation(template, start, end); {if ("" != null) return result;} throw new Error("Missing return statement in function"); }
final public PropertySetting Setting() throws ParseException {Token start, end, key; Expression value; start = jj_consume_token(SETTING); key = jj_consume_token(ID); jj_consume_token(EQUALS); value = Expression(); end = LooseDirectiveEnd(); token_source.checkNamingConvention(key); PropertySetting result = new PropertySetting(key, token_source, value, template.getConfiguration()); result.setLocation(template, start, end); {if ("" != null) return result;} throw new Error("Missing return statement in function"); }
encodingExp = exp; } else if (attString.equalsIgnoreCase("ignore_missing") || attString.equals("ignoreMissing")) { token_source.checkNamingConvention(att); ignoreMissingExp = exp; } else {
encodingExp = exp; } else if (attString.equalsIgnoreCase("ignore_missing") || attString.equals("ignoreMissing")) { token_source.checkNamingConvention(att); ignoreMissingExp = exp; } else {
jj_consume_token(EQUALS); exp = Expression(); token_source.checkNamingConvention(key);
jj_consume_token(BUILT_IN); t = jj_consume_token(ID); token_source.checkNamingConvention(t); result = BuiltIn.newBuiltIn(incompatibleImprovements, lhoExp, t, token_source); result.setLocation(template, lhoExp, t);
jj_consume_token(BUILT_IN); t = jj_consume_token(ID); token_source.checkNamingConvention(t); result = BuiltIn.newBuiltIn(incompatibleImprovements, lhoExp, t, token_source); result.setLocation(template, lhoExp, t);