Logo Search packages:      
Sourcecode: cdk version File versions  Download package

org::openscience::cdk::iupac::parser::NomParser Class Reference

Inheritance diagram for org::openscience::cdk::iupac::parser::NomParser:

List of all members.


Detailed Description

A class partly generated by JavaCC which breaks down the chemical name into computable subparts and passes these parts to the MoleculeBuilder.

Author:
David Robinson (University of Manchester)

Bhupinder Sandhu

Stephen Tomkinson

.keyword IUPAC name

Definition at line 37 of file NomParser.java.


Public Member Functions

final void allBaseNumbers () throws ParseException
final void attachLocationSpecified () throws ParseException
final void bondType () throws ParseException
final void chainPrefix () throws ParseException
final void completeChemicalName () throws ParseException
final void connectingFunctionalGroupsConstruct () throws ParseException
final void connectingFunctionalGroupSuffix () throws ParseException
final void cycle () throws ParseException
final void dBlockMetals () throws ParseException
final void disable_tracing ()
final void enable_tracing ()
final void endFunctionalGroups () throws ParseException
final void fBlockMetals () throws ParseException
final void functionalGroupPrefix () throws ParseException
ParseException generateParseException ()
final Token getNextToken ()
final Token getToken (int index)
final void groupOneMetals () throws ParseException
final void groupTwoMetals () throws ParseException
final void mainChainConstruct () throws ParseException
final void mainChainPrefix () throws ParseException
final void mainChainSuffix () throws ParseException
 NomParser (NomParserTokenManager tm)
 NomParser (java.io.Reader stream)
 NomParser (java.io.InputStream stream)
final void oneAttachLocation () throws ParseException
final void pBlockMetals () throws ParseException
final void prefixConstruct () throws ParseException
final void prefixFunctionalGroups () throws ParseException
final void prefixType () throws ParseException
final void prioritySubstituents () throws ParseException
final void prioritySubstituentsFunGroups () throws ParseException
void ReInit (NomParserTokenManager tm)
void ReInit (java.io.Reader stream)
void ReInit (java.io.InputStream stream)
final void specialCase () throws ParseException
final void subChain () throws ParseException
final void tensNoUnits () throws ParseException
final void tensWithUnits () throws ParseException
final void twoOrThreeAttachLocations () throws ParseException

Static Public Member Functions

static Molecule generate (String stringToParse) throws ParseException, CDKException

Public Attributes

int A = 25
int ACTINIUM = 69
int AL = 49
int ALUMINIUM = 103
int ALUMINO = 41
int AMERCIUM = 135
int AMIDE = 50
int AMINE = 51
int AMINO = 40
int AN = 27
int ANTIMONY = 111
int ARSENIC = 110
int BARIUM = 64
int BERKELIUM = 137
int BERYLLIUM = 60
int BISMUTH = 112
int BOHRIUM = 85
int BROMO = 35
int BUT = 9
int CADMIUM = 101
int CALCIUM = 62
int CALIFORNIUM = 138
int CERIUM = 116
int CESIUM = 58
int CHLORO = 33
int CHROMIUM = 78
int COBALT = 90
int COMMA = 5
int CONSTANT = 2
int CONT = 24
int COPPER = 97
int COS = 23
int CURIUM = 136
int CYCLO = 32
int DASH = 4
int DEC = 22
int DEFAULT = 0
int DI = 31
int DIGIT = 3
int DO = 14
int DUBNIUM = 77
int DYSPROSIUM = 124
int E = 44
int EICOS = 11
int EINSTEINIUM = 139
int EN = 28
int EOL = 1
int ERBIUM = 126
int ETH = 7
int EUROPIUM = 121
int FERMIUM = 140
int FLUORO = 34
int FRANCIUM = 59
int GADOLINIUM = 122
int GALLIUM = 104
int GERMAINIUM = 107
int GOLD = 99
int HAFNIUM = 72
int HASSIUM = 89
int HEN = 13
int HENICOS = 12
int HEPT = 19
int HEX = 18
int HOLMIUM = 125
int HYDROXY = 43
int INDIUM = 105
int IODO = 36
int IRIDIUM = 92
int IRON = 86
Token jj_nt
int LANTHANUM = 68
int LAWRENCIUM = 143
int LEAD = 109
int LITHIUM = 54
int LITHO = 42
boolean lookingAhead = false
int LUTETIUM = 129
int MAGNESIUM = 61
int MANGANESE = 82
int MECURY = 102
int MEITMERIUM = 93
int MENDELEVIUM = 141
int METH = 6
int MOLYBDENUM = 79
int NEODYMIUM = 118
int NEPTUNIUM = 133
int NICKEL = 94
int NIOBIUM = 75
int NITRILE = 48
int NITRO = 37
int NOBELIUM = 142
int NON = 21
int OATE = 53
int OCT = 20
int OICACID = 46
int OL = 45
int ONE = 52
int OSMIUM = 88
int OXO = 38
int OYLCHLORIDE = 47
int PALLADIUM = 95
int PENT = 17
int PHENYL = 39
int PLATINUM = 96
int PLUTONIUM = 134
int POLONIUM = 115
int POTASSIUM = 56
int PRASEODYMIUM = 117
int PROMETHIUM = 119
int PROP = 8
int PROTACTINIUM = 131
int RADIUM = 65
int RHENIUM = 84
int RHODIUM = 91
int RUBIDIUM = 57
int RUTHENIUM = 87
int RUTHERFORDIUM = 73
int SANARIUM = 120
int SCANDIUM = 66
int SEABORGIUM = 81
int SELENIUM = 113
int SILVER = 98
int SODIUM = 55
int SPACE = 26
int STRONTIUM = 63
int TANTALUM = 76
int TECHNETIUM = 83
int TELLURIUM = 114
int TERBIUM = 123
int TETR = 16
int THALLIUM = 106
int THORIUM = 130
int THULIUM = 127
int TIN = 108
int TITANIUM = 70
Token token
NomParserTokenManager token_source
String[] tokenImage
int TRI = 15
int TUNGSTEN = 80
int UNDEC = 10
int URANIUM = 132
int VANADIUM = 74
int YL = 30
int YN = 29
int YTTERBIUM = 128
int YTTRIUM = 67
int ZINC = 100
int ZIRCONIUM = 71

Package Functions

void AddFunGroup () throws ParseException
void AddFunGroupPos () throws ParseException
void AddHeadToken () throws ParseException
void AddMainChain () throws ParseException
void AddUnknownFunGroupPos () throws ParseException
void MakeMainChainIntoSubstituent () throws ParseException
void SetMainCyclic () throws ParseException

Static Package Functions

 [static initializer]

Package Attributes

int EOF = 0
SimpleCharStream jj_input_stream

Private Member Functions

final boolean jj_2_1 (int xla)
final boolean jj_3_1 ()
final boolean jj_3R_10 ()
final boolean jj_3R_11 ()
final boolean jj_3R_12 ()
final boolean jj_3R_13 ()
final boolean jj_3R_14 ()
final boolean jj_3R_15 ()
final boolean jj_3R_16 ()
final boolean jj_3R_17 ()
final boolean jj_3R_18 ()
final boolean jj_3R_19 ()
final boolean jj_3R_2 ()
final boolean jj_3R_20 ()
final boolean jj_3R_21 ()
final boolean jj_3R_22 ()
final boolean jj_3R_23 ()
final boolean jj_3R_24 ()
final boolean jj_3R_25 ()
final boolean jj_3R_26 ()
final boolean jj_3R_27 ()
final boolean jj_3R_28 ()
final boolean jj_3R_29 ()
final boolean jj_3R_3 ()
final boolean jj_3R_30 ()
final boolean jj_3R_31 ()
final boolean jj_3R_32 ()
final boolean jj_3R_33 ()
final boolean jj_3R_34 ()
final boolean jj_3R_35 ()
final boolean jj_3R_4 ()
final boolean jj_3R_5 ()
final boolean jj_3R_6 ()
final boolean jj_3R_7 ()
final boolean jj_3R_8 ()
final boolean jj_3R_9 ()
void jj_add_error_token (int kind, int pos)
final Token jj_consume_token (int kind) throws ParseException
final int jj_ntk ()
final void jj_rescan_token ()
final void jj_save (int index, int xla)
final boolean jj_scan_token (int kind)

Static Private Member Functions

static void checkConnections (Iterator vectorIterator) throws ParseException
static void jj_la1_0 ()
static void jj_la1_1 ()
static void jj_la1_2 ()
static void jj_la1_3 ()
static void jj_la1_4 ()

Private Attributes

final JJCalls[] jj_2_rtns = new JJCalls[1]
int jj_endpos
java.util.Vector jj_expentries = new java.util.Vector()
int[] jj_expentry
int jj_gc = 0
int jj_gen
int jj_kind = -1
int jj_la
final int[] jj_la1 = new int[29]
Token jj_lastpos
int[] jj_lasttokens = new int[100]
final LookaheadSuccess jj_ls = new LookaheadSuccess()
int jj_ntk
boolean jj_rescan = false
Token jj_scanpos
boolean jj_semLA

Static Private Attributes

static Vector attachedGroups
static Vector attachedSubstituents
static int currentNumber
static boolean isMainCyclic
static int[] jj_la1_0
static int[] jj_la1_1
static int[] jj_la1_2
static int[] jj_la1_3
static int[] jj_la1_4
static int mainChainPrefix
static Vector tempLocation

Classes

class  JJCalls
class  LookaheadSuccess

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

Generated by  Doxygen 1.6.0   Back to index