public class EclipseErrorDetailsBlock extends Block
empty line
.builder, markupLanguage, parser, state
Constructor and Description |
---|
EclipseErrorDetailsBlock() |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart(java.lang.String line,
int lineOffset)
Indicate if the block can start with the given markup line at the provided offset.
|
protected int |
processLineContent(java.lang.String line,
int offset)
Process the given line of markup starting at the provided offset.
|
void |
setClosed(boolean closed)
Cause the block to be closed.
|
beginNesting, canResume, clone, findCloseOffset, isClosed, processLine
getBuilder, getMarkupLanguage, getParser, getState, setParser, setState
public boolean canStart(java.lang.String line, int lineOffset)
Block
cloning
and consumed in
#processLine(String, int, int)
. Calling this method must cause any previous state to be reset. Note that
it is valid for block implementations to refuse to start at non-zero offsets. Implementations must be able to
handle this method without having the processor state
initialized.protected int processLineContent(java.lang.String line, int offset)
Block
processLineContent
in class Block
line
- the markup line to processoffset
- the offset at which to start processingCopyright © 2007, 2013 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html