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

Classes

class  TreeGraphNodeAdapter
 

Public Member Functions

 AGrammaticalStructureFactory ()
 
AGrammaticalStructure make (final GrammaticalStructure grammaticalStructure)
 

Static Public Member Functions

static String trim (final String str)
 

Private Member Functions

void visitNode (final TreeGraphNode treeGraphNode, final AGrammaticalStructure artifact)
 

Static Private Member Functions

static MutableAGrammaticalStructure makeNode (final TreeGraphNode treeGraphNode)
 

Private Attributes

final Map< TreeGraphNode, MutableAGrammaticalStructurenodeToArtifactMap
 
final Map< Integer, MutableAGrammaticalStructureindexToArtifactMap
 

Detailed Description

Factory for Grammatical Structure artifact

Author
Bernard Bou

Constructor & Destructor Documentation

◆ AGrammaticalStructureFactory()

grammarscope.glue.AGrammaticalStructureFactory.AGrammaticalStructureFactory ( )

Constructor

Member Function Documentation

◆ make()

AGrammaticalStructure grammarscope.glue.AGrammaticalStructureFactory.make ( final GrammaticalStructure  grammaticalStructure)

Make artifact from grammatical structure

Parameters
grammaticalStructuregrammatical structure
Returns
grammatical structure artifact

Process node

Parameters
treetree node
parentTreetree node's parent node
Returns
artifact node

Process node

Parameters
treetree node
parentTreetree node's parent node
Returns
void

◆ makeNode()

static MutableAGrammaticalStructure grammarscope.glue.AGrammaticalStructureFactory.makeNode ( final TreeGraphNode  treeGraphNode)
staticprivate

Make artifact from node

Parameters
treeGraphNodetree graph node
Returns
grammatical structure artifact node

◆ trim()

static String grammarscope.glue.AGrammaticalStructureFactory.trim ( final String  str)
static

Trim string removing glut

Parameters
strstring to trim
Returns
trimmed string

◆ visitNode()

void grammarscope.glue.AGrammaticalStructureFactory.visitNode ( final TreeGraphNode  treeGraphNode,
final AGrammaticalStructure  artifact 
)
private

Visit node filling artifact data

Parameters
treeGraphNodetree graph node
artifactartifact

Member Data Documentation

◆ indexToArtifactMap

final Map<Integer, MutableAGrammaticalStructure> grammarscope.glue.AGrammaticalStructureFactory.indexToArtifactMap
private

Node map (index to artifact node)

◆ nodeToArtifactMap

final Map<TreeGraphNode, MutableAGrammaticalStructure> grammarscope.glue.AGrammaticalStructureFactory.nodeToArtifactMap
private

Node map (TreeGraphNode to artifact node)


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