Package org.reploop.parser.thrift.tree
Class ThriftProgram
- java.lang.Object
-
- org.reploop.parser.thrift.Node
-
- org.reploop.parser.thrift.tree.ThriftProgram
-
public class ThriftProgram extends Node
The Thrift program. A thrift file will finally be parsed to this program.- Since:
- 2015-06-05 14
- Author:
- George Cao(georgecao@outlook.com)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(AstVisitor<R,C> visitor, C context)booleanequals(Object o)List<String>getComments()List<Entity>getEntities()PathgetFile()List<Header>getHeaders()inthashCode()voidsetFile(Path file)StringtoString()
-
-
-
Method Detail
-
accept
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
-
getFile
public Path getFile()
-
setFile
public void setFile(Path file)
-
-