Package org.reploop.parser.thrift.tree
Class Service
- java.lang.Object
-
- org.reploop.parser.thrift.Node
-
- org.reploop.parser.thrift.tree.Entity
-
- org.reploop.parser.thrift.tree.Service
-
public class Service extends Entity
What's this about?- Since:
- 2015-07-03 00
- Author:
- George Cao(georgecao@outlook.com)
-
-
Constructor Summary
Constructors Constructor Description Service(String name, List<String> comments, List<Function> functions)Service(Optional<QualifiedName> parent, String name, List<String> comments, List<Function> functions)Service(Optional<QualifiedName> parent, String name, List<Function> functions)Service(Optional<QualifiedName> parent, QualifiedName name, List<String> comments, List<Function> functions)Service(QualifiedName name, List<String> comments, List<Function> functions)
-
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<Function>getFunctions()Optional<QualifiedName>getParent()inthashCode()StringtoString()-
Methods inherited from class org.reploop.parser.thrift.tree.Entity
getComments, getName
-
-
-
-
Constructor Detail
-
Service
public Service(QualifiedName name, List<String> comments, List<Function> functions)
-
Service
public Service(Optional<QualifiedName> parent, String name, List<Function> functions)
-
Service
public Service(Optional<QualifiedName> parent, String name, List<String> comments, List<Function> functions)
-
Service
public Service(Optional<QualifiedName> parent, QualifiedName name, List<String> comments, List<Function> functions)
-
-
Method Detail
-
accept
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
-
getParent
public Optional<QualifiedName> getParent()
-
-