ModeShape Distribution 5.0.0.Final
-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
static int |
NO_SCORE |
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ParsingResult
public ParsingResult(String parserId,
AstNode rootTreeNode,
int parserScore,
Exception parsingError)
- Parameters:
parserId
- the parser identifier (cannot be null
or empty)
rootTreeNode
- the node at the root of the parse tree (can be null
if an error occurred)
parserScore
- the parsing score (can have no score
if an error occurred
parsingError
- an error that occurred during parsing (can be null
)
-
Method Detail
-
getScore
public int getScore()
- Returns:
- the parsing score
ModeShape Distribution 5.0.0.Final
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.