mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-12-03 19:18:54 +01:00
51 lines
1.4 KiB
Java
51 lines
1.4 KiB
Java
package org.commonmark.internal;
|
|
|
|
import org.commonmark.parser.block.BlockParser;
|
|
import org.commonmark.parser.block.BlockStart;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes11.dex */
|
|
public class BlockStartImpl extends BlockStart {
|
|
private final BlockParser[] blockParsers;
|
|
private int newIndex = -1;
|
|
private int newColumn = -1;
|
|
private boolean replaceActiveBlockParser = false;
|
|
|
|
public BlockStartImpl(BlockParser... blockParserArr) {
|
|
this.blockParsers = blockParserArr;
|
|
}
|
|
|
|
@Override // org.commonmark.parser.block.BlockStart
|
|
public BlockStart atColumn(int i) {
|
|
this.newColumn = i;
|
|
return this;
|
|
}
|
|
|
|
@Override // org.commonmark.parser.block.BlockStart
|
|
public BlockStart atIndex(int i) {
|
|
this.newIndex = i;
|
|
return this;
|
|
}
|
|
|
|
public BlockParser[] getBlockParsers() {
|
|
return this.blockParsers;
|
|
}
|
|
|
|
public int getNewColumn() {
|
|
return this.newColumn;
|
|
}
|
|
|
|
public int getNewIndex() {
|
|
return this.newIndex;
|
|
}
|
|
|
|
public boolean isReplaceActiveBlockParser() {
|
|
return this.replaceActiveBlockParser;
|
|
}
|
|
|
|
@Override // org.commonmark.parser.block.BlockStart
|
|
public BlockStart replaceActiveBlockParser() {
|
|
this.replaceActiveBlockParser = true;
|
|
return this;
|
|
}
|
|
}
|