com.varankin.bnf
Class OptionalSequence

java.lang.Object
  extended by com.varankin.bnf.WrappedDefinitionsList
      extended by com.varankin.bnf.OptionalSequence
All Implemented Interfaces:
SyntacticPrimary

public class OptionalSequence
extends WrappedDefinitionsList
implements SyntacticPrimary

An optional-sequence consists of a start-option-symbol followed by a definitions-list followed by an end-option-symbol.

Author:
© 2009 Nikolai Varankine

Field Summary
 
Fields inherited from class com.varankin.bnf.WrappedDefinitionsList
list
 
Constructor Summary
OptionalSequence(DefinitionsList aDefinitionsList)
           
 
Method Summary
 
Methods inherited from class com.varankin.bnf.WrappedDefinitionsList
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OptionalSequence

public OptionalSequence(DefinitionsList aDefinitionsList)
Parameters:
aDefinitionsList - definitions list comprising optional sequence.
Throws:
java.lang.NullPointerException - if definitions list is null.