/** * @param r the character stream to wrap */ LineTableBuilder(Reader r, ParserConfiguration parserConfiguration) { super(r); tabSize = parserConfiguration.getTabSize(); }
public int getTabSize() { return wrappedPCfg.getTabSize(); }
private static FMParserTokenManager readerToTokenManager(Reader reader, ParserConfiguration pCfg) { SimpleCharStream simpleCharStream = new SimpleCharStream(reader, 1, 1); simpleCharStream.setTabSize(pCfg.getTabSize()); return new FMParserTokenManager(simpleCharStream); }
beginLine, beginColumn + 1, value.length()); simpleCharacterStream.setTabSize(pcfg.getTabSize());
RUNTIME_EVAL_LINE_DISPLACEMENT, 1, s.length() + 2); simpleCharStream.setTabSize(pCfg.getTabSize()); FMParserTokenManager tkMan = new FMParserTokenManager( simpleCharStream);
/** * @Deprecated This is an internal API of FreeMarker; will be changed in 2.4. */ public FMParser(Template template, Reader reader, boolean strictSyntaxMode, boolean whitespaceStripping, int tagSyntax, int namingConvention, int incompatibleImprovements) { this(template, reader, new LegacyConstructorParserConfiguration( strictSyntaxMode, whitespaceStripping, tagSyntax, LEGACY_INTERPOLATION_SYNTAX, namingConvention, template != null ? template.getParserConfiguration().getAutoEscapingPolicy() : Configuration.ENABLE_IF_DEFAULT_AUTO_ESCAPING_POLICY, template != null ? template.getParserConfiguration().getOutputFormat() : null, template != null ? template.getParserConfiguration().getRecognizeStandardFileExtensions() : null, template != null ? template.getParserConfiguration().getTabSize() : null, new Version(incompatibleImprovements), template != null ? template.getArithmeticEngine() : null)); }
template.getParserConfiguration().getRecognizeStandardFileExtensions()); lpCfg.setTabSizeIfNotSet( template.getParserConfiguration().getTabSize());
/** * @param r the character stream to wrap */ LineTableBuilder(Reader r, ParserConfiguration parserConfiguration) { super(r); tabSize = parserConfiguration.getTabSize(); }
/** * @param r the character stream to wrap */ LineTableBuilder(Reader r, ParserConfiguration parserConfiguration) { super(r); tabSize = parserConfiguration.getTabSize(); }
public int getTabSize() { return wrappedPCfg.getTabSize(); }
public int getTabSize() { return wrappedPCfg.getTabSize(); }
private static FMParserTokenManager readerToTokenManager(Reader reader, ParserConfiguration pCfg) { SimpleCharStream simpleCharStream = new SimpleCharStream(reader, 1, 1); simpleCharStream.setTabSize(pCfg.getTabSize()); return new FMParserTokenManager(simpleCharStream); }
private static FMParserTokenManager readerToTokenManager(Reader reader, ParserConfiguration pCfg) { SimpleCharStream simpleCharStream = new SimpleCharStream(reader, 1, 1); simpleCharStream.setTabSize(pCfg.getTabSize()); return new FMParserTokenManager(simpleCharStream); }
beginLine, beginColumn + 1, value.length()); simpleCharacterStream.setTabSize(pcfg.getTabSize());
beginLine, beginColumn + 1, value.length()); simpleCharacterStream.setTabSize(pcfg.getTabSize());
RUNTIME_EVAL_LINE_DISPLACEMENT, 1, s.length() + 2); simpleCharStream.setTabSize(pCfg.getTabSize()); FMParserTokenManager tkMan = new FMParserTokenManager( simpleCharStream);
RUNTIME_EVAL_LINE_DISPLACEMENT, 1, s.length() + 2); simpleCharStream.setTabSize(pCfg.getTabSize()); FMParserTokenManager tkMan = new FMParserTokenManager( simpleCharStream);
/** * @Deprecated This is an internal API of FreeMarker; will be changed in 2.4. */ public FMParser(Template template, Reader reader, boolean strictSyntaxMode, boolean whitespaceStripping, int tagSyntax, int namingConvention, int incompatibleImprovements) { this(template, reader, new LegacyConstructorParserConfiguration( strictSyntaxMode, whitespaceStripping, tagSyntax, LEGACY_INTERPOLATION_SYNTAX, namingConvention, template != null ? template.getParserConfiguration().getAutoEscapingPolicy() : Configuration.ENABLE_IF_DEFAULT_AUTO_ESCAPING_POLICY, template != null ? template.getParserConfiguration().getOutputFormat() : null, template != null ? template.getParserConfiguration().getRecognizeStandardFileExtensions() : null, template != null ? template.getParserConfiguration().getTabSize() : null, new Version(incompatibleImprovements), template != null ? template.getArithmeticEngine() : null)); }
/** * @Deprecated This is an internal API of FreeMarker; will be changed in 2.4. */ public FMParser(Template template, Reader reader, boolean strictSyntaxMode, boolean whitespaceStripping, int tagSyntax, int namingConvention, int incompatibleImprovements) { this(template, reader, new LegacyConstructorParserConfiguration( strictSyntaxMode, whitespaceStripping, tagSyntax, LEGACY_INTERPOLATION_SYNTAX, namingConvention, template != null ? template.getParserConfiguration().getAutoEscapingPolicy() : Configuration.ENABLE_IF_DEFAULT_AUTO_ESCAPING_POLICY, template != null ? template.getParserConfiguration().getOutputFormat() : null, template != null ? template.getParserConfiguration().getRecognizeStandardFileExtensions() : null, template != null ? template.getParserConfiguration().getTabSize() : null, new Version(incompatibleImprovements), template != null ? template.getArithmeticEngine() : null)); }
template.getParserConfiguration().getRecognizeStandardFileExtensions()); lpCfg.setTabSizeIfNotSet( template.getParserConfiguration().getTabSize());