home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ssvpar.zip
/
SSYACC.INL
< prev
next >
Wrap
Text File
|
1994-10-17
|
2KB
|
91 lines
/*---------------------------------------------------------------------------
Copyright (c) 1994 SandStone Software Inc.
All rights reserved
----------------------------------------------------------------------------*/
SSInline void SSYacc::setLex( SSLex& qLex)
{
opLex = &qLex;
}
SSInline void SSYacc::setTable( SSYaccTable& qTable)
{
opTable = &qTable;
opTab = opTable->opTable;
}
SSInline void SSYacc::setAbort( void)
{
oAbort = SSTrue;
}
SSInline SSBooleanValue SSYacc::wasAborted( void)
{
return oAbort;
}
SSInline SSUnsigned32 SSYacc::leftside( void)
{
return oulLeftside;
}
SSInline SSUnsigned32 SSYacc::state( void)
{
return oulState;
}
SSInline SSLex* SSYacc::lex( void)
{
return opLex;
}
SSInline SSUnsigned32 SSYacc::production( void)
{
return oulProduction;
}
SSInline SSUnsigned32 SSYacc::productionSize( void)
{
return oulProductionSize;
}
SSInline SSLexLexeme& SSYacc::lookahead( void)
{
return *oLookahead;
}
SSInline SSYaccStackElement::SSYaccStackElement( void) : oulState( 0)
{
}
SSInline SSUnsigned32 SSYaccStackElement::state( void)
{
return oulState;
}
SSInline SSLexLexeme* SSYaccStackElement::lexeme( void)
{
return oLexeme;
}
SSInline SSBooleanValue SSYacc::wasError( void)
{
return oError;
}
SSInline SSUnsigned32 SSYacc::shiftedSinceError( void)
{
return oulError;
}
SSInline void SSYaccStackElement::setState( SSUnsigned32 qulState)
{
oulState = qulState;
}
SSInline void SSYaccStackElement::setLexeme( SSLexLexeme& qLexeme)
{
oLexeme = qLexeme;
}