Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
java ANTLR v2.xを使用してASTをウォークスルーする方法を教えてください(つまり、commontreeを使用せずに)
ありがとうございました..
あなたの質問は曖昧です。ANTLRでツリーを処理する標準的な方法は、パーサーが構築するツリーに対応するツリー文法を作成することです。たくさんの例がhttp://www.antlr2.org/doc/index.htmlにあります。