GrammarScope  4.0.0
Public Member Functions | Static Private Attributes | List of all members
grammarscope.glue.MutableAParseTree Class Reference
Inheritance diagram for grammarscope.glue.MutableAParseTree:
Inheritance graph
[legend]
Collaboration diagram for grammarscope.glue.MutableAParseTree:
Collaboration graph
[legend]

Public Member Functions

 MutableAParseTree (final String value, final Token token, final double score)
 
void setParent (final AParseTree parent)
 
void setChildren (final List< AParseTree > children)
 
- Public Member Functions inherited from grammarscope.artifacts.AParseTree
 AParseTree (final String value, final Token token, final double score)
 
AParseTree getNode ()
 
String getId ()
 
String getValue ()
 
String getWord ()
 
Token getToken ()
 
String getLemma ()
 
int getIndex ()
 
ILabel getILabel ()
 
Double getScore ()
 
String toString ()
 
- Public Member Functions inherited from grammarscope.artifacts.BasicTree< AParseTree >
 BasicTree ()
 
abstract String getId ()
 
BasicTree< T > getParent ()
 
List< T > getChildren ()
 
getNode ()
 
int depth ()
 
String toString ()
 
String toString (final String indent)
 
- Public Member Functions inherited from grammarscope.iface.ITree< N >
List< N > getChildren ()
 

Static Private Attributes

static final long serialVersionUID = 6418191145487647152L
 

Additional Inherited Members

- Public Attributes inherited from grammarscope.artifacts.AParseTree
final String value
 
double score
 
final Properties annotations
 
- Protected Attributes inherited from grammarscope.artifacts.BasicTree< AParseTree >
BasicTree< T > parent
 
List< T > children
 

Detailed Description

Mutable parse tree artifact

Author
Bernard Bou

Constructor & Destructor Documentation

◆ MutableAParseTree()

grammarscope.glue.MutableAParseTree.MutableAParseTree ( final String  value,
final Token  token,
final double  score 
)

Constructor

Parameters
valuevalue
tokentoken
scorescore

Member Function Documentation

◆ setChildren()

void grammarscope.glue.MutableAParseTree.setChildren ( final List< AParseTree children)

Set children

Parameters
childrenchildren

◆ setParent()

void grammarscope.glue.MutableAParseTree.setParent ( final AParseTree  parent)

Set parent

Parameters
parentparent

Member Data Documentation

◆ serialVersionUID

final long grammarscope.glue.MutableAParseTree.serialVersionUID = 6418191145487647152L
staticprivate

The documentation for this class was generated from the following file: