botanist  v0.1.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
botanist::Serializer Class Reference

構文木をスタックマシンが実行可能な形に変換する More...

#include <serializer.hpp>

Public Member Functions

 Serializer (collection2::List< SyntaxNode > &syntaxNodeList)
 
void serializeTree (const collection2::TreeNode< SyntaxNode > *rootNode)
 構文木をスタックマシンで処理できる形に並べ替え、ノードリストを更新する More...
 
void dumpSeralizedNodeList () const
 直列化されたノードリストをダンプ
 

Detailed Description

構文木をスタックマシンが実行可能な形に変換する

Member Function Documentation

◆ serializeTree()

void botanist::Serializer::serializeTree ( const collection2::TreeNode< SyntaxNode > *  rootNode)

構文木をスタックマシンで処理できる形に並べ替え、ノードリストを更新する

Parameters
rootNode構文木のルートノードへのポインタ

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