indra::ipc::tokenstream Namespace Reference


Classes

class  _EOF
class  _LineMarker
class  ParseError
class  TokenStream

Functions

def _optionText

Variables

tuple EOF = _EOF()
tuple _commentRE = re.compile(r'//.*')
tuple _symbolRE = re.compile(r'[a-zA-Z_][a-zA-Z_0-9]*')
tuple _integerRE = re.compile(r'(0x[0-9A-Fa-f]+|0\d*|[1-9]\d*)')
tuple _floatRE = re.compile(r'\d+(\.\d*)?')


Detailed Description

\
@file tokenstream.py
@brief Message template parsing utility class

$LicenseInfo:firstyear=2007&license=mit$

Copyright (c) 2007-2008, Linden Research, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
$/LicenseInfo$

Function Documentation

def indra::ipc::tokenstream::_optionText (   options  )  [private]

Definition at line 67 of file tokenstream.py.


Variable Documentation

tuple indra::ipc::tokenstream::_commentRE = re.compile(r'//.*')

Definition at line 39 of file tokenstream.py.

tuple indra::ipc::tokenstream::_floatRE = re.compile(r'\d+(\.\d*)?')

Definition at line 42 of file tokenstream.py.

tuple indra::ipc::tokenstream::_integerRE = re.compile(r'(0x[0-9A-Fa-f]+|0\d*|[1-9]\d*)')

Definition at line 41 of file tokenstream.py.

tuple indra::ipc::tokenstream::_symbolRE = re.compile(r'[a-zA-Z_][a-zA-Z_0-9]*')

Definition at line 40 of file tokenstream.py.


Generated on Fri May 16 09:42:29 2008 for SecondLife by  doxygen 1.5.5