#include <AtomParser.h>
Public Methods | |
| atomparser_node (int nnode_t, int nextra_t=-1) | |
| constructor. More... | |
| ~atomparser_node (void) | |
| destructor XXX The original recursive implementation will fail on massive selection strings, e.g. a list of 500,000 residue names can blow the stack: for { set i 0 } { $i < 500000 } { incr i } { lappend long $i } atomselect macro huge "index $long". More... | |
Public Attributes | |
| int | node_type |
| these are token types, e.g. 'AND', 'WITHIN', defined in AtomParser.y/y.tab.h. More... | |
| int | extra_type |
| for weird things like distinguishing 'index 5 to 7' from 'index 5 7'. More... | |
| double | dval |
| floating point value (if any). More... | |
| int | ival |
| integer value (if any). More... | |
| atomparser_string | sele |
| if this is a string, what kind of string? More... | |
| atomparser_node * | left |
| link to left branch of parse tree. More... | |
| atomparser_node * | right |
| link to right branch of parse tree. More... | |
Definition at line 40 of file AtomParser.h.
|
||||||||||||
|
constructor.
Definition at line 52 of file AtomParser.h. References extra_type, node_type, and NULL. |
|
|
destructor XXX The original recursive implementation will fail on massive selection strings, e.g. a list of 500,000 residue names can blow the stack: for { set i 0 } { $i < 500000 } { incr i } { lappend long $i } atomselect macro huge "index $long".
Definition at line 70 of file AtomParser.h. References NULL. |
|
|
floating point value (if any).
Definition at line 45 of file AtomParser.h. Referenced by yyparse. |
|
|
for weird things like distinguishing 'index 5 to 7' from 'index 5 7'.
Definition at line 43 of file AtomParser.h. Referenced by atomparser_node. |
|
|
integer value (if any).
Definition at line 46 of file AtomParser.h. Referenced by yyparse. |
|
|
link to left branch of parse tree.
Definition at line 48 of file AtomParser.h. Referenced by yyparse. |
|
|
these are token types, e.g. 'AND', 'WITHIN', defined in AtomParser.y/y.tab.h.
Definition at line 41 of file AtomParser.h. Referenced by atomparser_node, and yyparse. |
|
|
link to right branch of parse tree.
Definition at line 49 of file AtomParser.h. Referenced by yyparse. |
|
|
if this is a string, what kind of string?
Definition at line 47 of file AtomParser.h. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002