OpenMD 3.2
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OMDLexer Class Reference
Inheritance diagram for OMDLexer:

Public Types

enum  {
  TRUE = 1 , FALSE = 2 , COMPONENT = 3 , MOLECULE = 4 ,
  ZCONSTRAINT = 5 , RESTRAINT = 6 , ATOM = 7 , BOND = 8 ,
  BEND = 9 , TORSION = 10 , INVERSION = 11 , RIGIDBODY = 12 ,
  CUTOFFGROUP = 13 , CONSTRAINT = 14 , DISTANCE = 15 , FRAGMENT = 16 ,
  SEQUENCE = 17 , MEMBERS = 18 , CENTER = 19 , SATELLITES = 20 ,
  POSITION = 21 , ORIENTATION = 22 , FLUCQ = 23 , RNEMD = 24 ,
  LIGHT = 25 , VELOCITYFIELD = 26 , MINIMIZER = 27 , FIXED = 28 ,
  HARMONIC = 29 , CUBIC = 30 , QUARTIC = 31 , POLYNOMIAL = 32 ,
  MORSE = 33 , GHOSTBEND = 34 , UREYBRADLEY = 35 , COSINE = 36 ,
  GHOSTTORSION = 37 , CHARMM = 38 , OPLS = 39 , TRAPPE = 40 ,
  AMBERIMPROPER = 41 , IMPROPERCOSINE = 42 , CENTRALATOMHEIGHT = 43 , DREIDING = 44 ,
  CHARGE = 45 , NODES = 46 , ASSIGNEQUAL = 47 , COLON = 48 ,
  COMMA = 49 , QUESTIONMARK = 50 , SEMICOLON = 51 , DOT = 52 ,
  LPAREN = 53 , RPAREN = 54 , LBRACKET = 55 , RBRACKET = 56 ,
  LCURLY = 57 , RCURLY = 58 , NUM_LONG = 59 , NUM_INT = 60 ,
  NUM_FLOAT = 61 , NUM_DOUBLE = 62 , CharLiteral = 63 , StringLiteral = 64 ,
  ID = 65 , Whitespace = 66 , Newline = 67 , LineContinuation = 68 ,
  Comment = 69 , CPPComment = 70 , PREPROC_DIRECTIVE = 71
}

Public Member Functions

 OMDLexer (antlr4::CharStream *input)
void setObserver (FilenameObserver *osv)
void initDeferredLineCount ()
void deferredNewline ()
std::string getGrammarFileName () const override
const std::vector< std::string > & getRuleNames () const override
const std::vector< std::string > & getChannelNames () const override
const std::vector< std::string > & getModeNames () const override
const antlr4::dfa::Vocabulary & getVocabulary () const override
antlr4::atn::SerializedATNView getSerializedATN () const override
const antlr4::atn::ATN & getATN () const override

Static Public Member Functions

static void initialize ()

Public Attributes

int deferredLineCount = 0
FilenameObserverobserver

Detailed Description

Definition at line 17 of file OMDLexer.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 19 of file OMDLexer.h.

Constructor & Destructor Documentation

◆ OMDLexer()

OMDLexer::OMDLexer ( antlr4::CharStream * input)
explicit

Definition at line 425 of file OMDLexer.cpp.

◆ ~OMDLexer()

OMDLexer::~OMDLexer ( )
override

Definition at line 430 of file OMDLexer.cpp.

Member Function Documentation

◆ deferredNewline()

void OMDLexer::deferredNewline ( )
inline

Definition at line 52 of file OMDLexer.h.

◆ getATN()

const atn::ATN & OMDLexer::getATN ( ) const
override

Definition at line 458 of file OMDLexer.cpp.

◆ getChannelNames()

const std::vector< std::string > & OMDLexer::getChannelNames ( ) const
override

Definition at line 442 of file OMDLexer.cpp.

◆ getGrammarFileName()

std::string OMDLexer::getGrammarFileName ( ) const
override

Definition at line 434 of file OMDLexer.cpp.

◆ getModeNames()

const std::vector< std::string > & OMDLexer::getModeNames ( ) const
override

Definition at line 446 of file OMDLexer.cpp.

◆ getRuleNames()

const std::vector< std::string > & OMDLexer::getRuleNames ( ) const
override

Definition at line 438 of file OMDLexer.cpp.

◆ getSerializedATN()

antlr4::atn::SerializedATNView OMDLexer::getSerializedATN ( ) const
override

Definition at line 454 of file OMDLexer.cpp.

◆ getVocabulary()

const dfa::Vocabulary & OMDLexer::getVocabulary ( ) const
override

Definition at line 450 of file OMDLexer.cpp.

◆ initDeferredLineCount()

void OMDLexer::initDeferredLineCount ( )
inline

Definition at line 48 of file OMDLexer.h.

◆ initialize()

void OMDLexer::initialize ( )
static

Definition at line 465 of file OMDLexer.cpp.

◆ setObserver()

void OMDLexer::setObserver ( FilenameObserver * osv)
inline

Definition at line 44 of file OMDLexer.h.

Member Data Documentation

◆ deferredLineCount

int OMDLexer::deferredLineCount = 0

Definition at line 41 of file OMDLexer.h.

◆ observer

FilenameObserver* OMDLexer::observer

Definition at line 42 of file OMDLexer.h.


The documentation for this class was generated from the following files: