JIVE Platform
Release 0.3.1

edu.bsu.cs.jive.contour
Interface ContourMember

All Known Subinterfaces:
ContourMember.InnerClass, ContourMember.MethodDeclaration, ContourMember.Variable

public interface ContourMember

A member of a contour. Each member has an entry that contains three fields: name, type, and value.


Nested Class Summary
static interface ContourMember.Exporter
          A reverse-builder for contour members.
static interface ContourMember.Importer
          A builder for contour members.
static interface ContourMember.InnerClass
          An inner class declaration within a contour.
static interface ContourMember.MethodDeclaration
          A method declaration member within a contour.
static interface ContourMember.Variable
          A variable declaration member within a contour.
static interface ContourMember.Visitor
          Visit any member.
 
Method Summary
 Object accept(ContourMember.Visitor visitor, Object arg)
          Accept a visitor
 String name()
          Get the name of this member entry, as a string.
 Type type()
          Get the type of this member entry, as a string.
 Value value()
          Get the value stored in this member.
 

Method Detail

name

String name()
Get the name of this member entry, as a string.

Returns:
member name

type

Type type()
Get the type of this member entry, as a string.

Returns:
member type (as a string)

value

Value value()
Get the value stored in this member. This should never be null.

Returns:
member value

accept

Object accept(ContourMember.Visitor visitor,
              Object arg)
Accept a visitor

Parameters:
visitor - the visitor
arg - the visitor argument
Returns:
visitor result

JIVE Platform
Release 0.3.1