コード例 #1
0
** modify it under the terms of the 2-Clause BSD License.
**
** Author contact information:
**   [email protected]
**
*/

/*
This file contains global variables for WMARK comment start action component.
*/

////////////////////////////////////////////////////////////////////////////////

#include "PreComp.h"

#include "wmark/action/WmarkCommentStartAction.h"

////////////////////////////////////////////////////////////////////////////////
namespace GKC {
////////////////////////////////////////////////////////////////////////////////

// WmarkCommentStartAction

BEGIN_COM_TYPECAST(WmarkCommentStartAction)
	COM_TYPECAST_ENTRY(ILexerAction, ILexerAction)
END_COM_TYPECAST()

////////////////////////////////////////////////////////////////////////////////
}
////////////////////////////////////////////////////////////////////////////////
コード例 #2
0
*/

/*
This file contains global variables for Do-Char-Item-Char-E action component.
*/

////////////////////////////////////////////////////////////////////////////////

#include "PreComp.h"

#include "_GkcCompiler.h"

#include "base/DataColl.h"

#include "ldf/regex/RegexDef.h"
#include "ldf/regex/RegexDoCharItemCharEAction.h"

////////////////////////////////////////////////////////////////////////////////
namespace GKC {
////////////////////////////////////////////////////////////////////////////////

// RegexDoCharItemCharEAction

BEGIN_COM_TYPECAST(RegexDoCharItemCharEAction)
	COM_TYPECAST_ENTRY(_IGrammarAction, _IGrammarAction)
END_COM_TYPECAST()

////////////////////////////////////////////////////////////////////////////////
}
////////////////////////////////////////////////////////////////////////////////
コード例 #3
0
ファイル: WlangDoBodySemiAction.cpp プロジェクト: ZJUGKC/GKC
** modify it under the terms of the 2-Clause BSD License.
**
** Author contact information:
**   [email protected]
**
*/

/*
This file contains global variables for Do-Body-Semi action component.
*/

////////////////////////////////////////////////////////////////////////////////

#include "PreComp.h"

#include "wlang/action/WlangDoBodySemiAction.h"

////////////////////////////////////////////////////////////////////////////////
namespace GKC {
////////////////////////////////////////////////////////////////////////////////

// WlangDoBodySemiAction

BEGIN_COM_TYPECAST(WlangDoBodySemiAction)
	COM_TYPECAST_ENTRY(IGrammarAction, IGrammarAction)
END_COM_TYPECAST()

////////////////////////////////////////////////////////////////////////////////
}
////////////////////////////////////////////////////////////////////////////////
コード例 #4
0
**
** Author contact information:
**   [email protected]
**
*/

/*
This file contains global variables for WLANG position symbol data component.
*/

////////////////////////////////////////////////////////////////////////////////

#include "PreComp.h"

#include "wlang/action/WlangPositionSymbolData.h"

////////////////////////////////////////////////////////////////////////////////
namespace GKC {
////////////////////////////////////////////////////////////////////////////////

// WlangPositionSymbolData

BEGIN_COM_TYPECAST(WlangPositionSymbolData)
	COM_TYPECAST_ENTRY(IGrammarSymbolData, _GrammarSymbolDataBase)
	COM_TYPECAST_ENTRY(_ICplMetaDataPositionSymbolDataUtility, _CplMetaDataPositionSymbolDataBase)
END_COM_TYPECAST()

////////////////////////////////////////////////////////////////////////////////
}
////////////////////////////////////////////////////////////////////////////////
コード例 #5
0
ファイル: SpaceAction.cpp プロジェクト: CDsalon/GKC
** Author contact information:
**   [email protected]
**
*/

/*
This file contains global variables for space action component.
*/

////////////////////////////////////////////////////////////////////////////////

#include "PreComp.h"

#include "_GkcCompiler.h"

#include "action/SpaceAction.h"

////////////////////////////////////////////////////////////////////////////////
namespace GKC {
////////////////////////////////////////////////////////////////////////////////

// SpaceAction

BEGIN_COM_TYPECAST(SpaceAction)
	COM_TYPECAST_ENTRY(_ILexerAction, _ILexerAction)
END_COM_TYPECAST()

////////////////////////////////////////////////////////////////////////////////
}
////////////////////////////////////////////////////////////////////////////////
コード例 #6
0
ファイル: WlangUtility.cpp プロジェクト: ZJUGKC/GKC
#include "_GkcParser.h"

#include "base/ParserDef.h"

#include "wlang/base/WlangDef.h"
#include "wlang/base/WlangLex.h"
#include "wlang/base/WlangGra.h"

#include "wlang/action/WlangGrammarError.h"
#include "wlang/action/WlangGrammarAccepted.h"
#include "wlang/action/WlangDoNsBodyAction.h"
#include "wlang/action/WlangDoBodySemiAction.h"

#include "wlang/WlangAction.h"
#include "wlang/WlangUtility.h"

////////////////////////////////////////////////////////////////////////////////
namespace GKC {
////////////////////////////////////////////////////////////////////////////////

// WlangUtility

BEGIN_COM_TYPECAST(WlangUtility)
	COM_TYPECAST_ENTRY(_IWlangUtility, _IWlangUtility)
	COM_TYPECAST_ENTRY(_IWlangUtility_Access, _IWlangUtility_Access)
END_COM_TYPECAST()

////////////////////////////////////////////////////////////////////////////////
}
////////////////////////////////////////////////////////////////////////////////
コード例 #7
0
ファイル: RegexDoCharAction.cpp プロジェクト: ZJUGKC/GKC
*/

/*
This file contains global variables for Do-Char action component.
*/

////////////////////////////////////////////////////////////////////////////////

#include "PreComp.h"

#include "_GkcCompiler.h"

#include "base/DataColl.h"

#include "ldf/regex/RegexDef.h"
#include "ldf/regex/RegexDoCharAction.h"

////////////////////////////////////////////////////////////////////////////////
namespace GKC {
////////////////////////////////////////////////////////////////////////////////

// RegexDoCharAction

BEGIN_COM_TYPECAST(RegexDoCharAction)
COM_TYPECAST_ENTRY(_IGrammarAction, _IGrammarAction)
END_COM_TYPECAST()

////////////////////////////////////////////////////////////////////////////////
}
////////////////////////////////////////////////////////////////////////////////
コード例 #8
0
ファイル: GraDoIdMacroAction.cpp プロジェクト: ZJUGKC/GKC
This file contains global variables for Do-Id-Macro action component.
*/

////////////////////////////////////////////////////////////////////////////////

#include "PreComp.h"

#include "_GkcCompiler.h"

#include "base/DataColl.h"
#include "base/Fsa.h"
#include "base/Lexer.h"

#include "ldf/gra/GraDef.h"
#include "ldf/gra/GraDoIdMacroAction.h"

////////////////////////////////////////////////////////////////////////////////
namespace GKC {
////////////////////////////////////////////////////////////////////////////////

// GraDoIdMacroAction

BEGIN_COM_TYPECAST(GraDoIdMacroAction)
	COM_TYPECAST_ENTRY(_IGrammarAction, _IGrammarAction)
	COM_TYPECAST_ENTRY(_I_GraDataAction_Utility, _GraDataActionBase)
END_COM_TYPECAST()

////////////////////////////////////////////////////////////////////////////////
}
////////////////////////////////////////////////////////////////////////////////
コード例 #9
0
ファイル: WonUtility.cpp プロジェクト: ZJUGKC/GKC
*/

////////////////////////////////////////////////////////////////////////////////

#include "PreComp.h"

#include "_GkcParser.h"

#include "base/ParserDef.h"

#include "won/base/WonDef.h"
#include "won/base/WonLex.h"
#include "won/base/WonGra.h"

#include "won/WonUtility.h"

////////////////////////////////////////////////////////////////////////////////
namespace GKC {
////////////////////////////////////////////////////////////////////////////////

// WonUtility

BEGIN_COM_TYPECAST(WonUtility)
	COM_TYPECAST_ENTRY(_IWonUtility, _IWonUtility)
	COM_TYPECAST_ENTRY(_IWonUtility_Access, _IWonUtility_Access)
END_COM_TYPECAST()

////////////////////////////////////////////////////////////////////////////////
}
////////////////////////////////////////////////////////////////////////////////
コード例 #10
0
/*
This file contains global variables for Do-Factor-Char action component.
*/

////////////////////////////////////////////////////////////////////////////////

#include "PreComp.h"

#include "_GkcCompiler.h"

#include "base/DataColl.h"

#include "ldf/regex/RegexDef.h"
#include "ldf/regex/RegexDoFactorCharAction.h"

////////////////////////////////////////////////////////////////////////////////
namespace GKC {
////////////////////////////////////////////////////////////////////////////////

// RegexDoFactorCharAction

BEGIN_COM_TYPECAST(RegexDoFactorCharAction)
	COM_TYPECAST_ENTRY(_IGrammarAction, _IGrammarAction)
	COM_TYPECAST_ENTRY(_I_RegexAstAction_Utility, _RegexAstActionBase)
END_COM_TYPECAST()

////////////////////////////////////////////////////////////////////////////////
}
////////////////////////////////////////////////////////////////////////////////
コード例 #11
0
ファイル: GrammarAnalyzer.cpp プロジェクト: CDsalon/GKC
This file contains global variables for grammar analyzer component.
*/

////////////////////////////////////////////////////////////////////////////////

#include "PreComp.h"

#include "_GkcCompiler.h"

#include "base/DataColl.h"
#include "base/Fsa.h"
#include "base/Lexer.h"
#include "base/Pda.h"
#include "base/Grammar.h"

#include "analyzer/GrammarAnalyzer.h"

////////////////////////////////////////////////////////////////////////////////
namespace GKC {
////////////////////////////////////////////////////////////////////////////////

// GrammarAnalyzer

BEGIN_COM_TYPECAST(GrammarAnalyzer)
	COM_TYPECAST_ENTRY(_IGrammarAnalyzer, _IGrammarAnalyzer)
END_COM_TYPECAST()

////////////////////////////////////////////////////////////////////////////////
}
////////////////////////////////////////////////////////////////////////////////
コード例 #12
0
ファイル: GraPositionSymbolData.cpp プロジェクト: ZJUGKC/GKC
This file contains global variables for grammar position symbol data component.
*/

////////////////////////////////////////////////////////////////////////////////

#include "PreComp.h"

#include "_GkcCompiler.h"

#include "base/DataColl.h"
#include "base/Fsa.h"
#include "base/Lexer.h"

#include "ldf/gra/GraDef.h"
#include "ldf/gra/GraPositionSymbolData.h"

////////////////////////////////////////////////////////////////////////////////
namespace GKC {
////////////////////////////////////////////////////////////////////////////////

// GraPositionSymbolData

BEGIN_COM_TYPECAST(GraPositionSymbolData)
	COM_TYPECAST_ENTRY(_IGrammarSymbolData, _GrammarSymbolDataBase)
	COM_TYPECAST_ENTRY(_I_GraPositionSymbolData_Utility, _I_GraPositionSymbolData_Utility)
END_COM_TYPECAST()

////////////////////////////////////////////////////////////////////////////////
}
////////////////////////////////////////////////////////////////////////////////
コード例 #13
0
ファイル: RegexCharSetSymbolData.cpp プロジェクト: ZJUGKC/GKC
/*
This file contains global variables for regular expression character set symbol data component.
*/

////////////////////////////////////////////////////////////////////////////////

#include "PreComp.h"

#include "_GkcCompiler.h"

#include "base/DataColl.h"

#include "ldf/regex/RegexDef.h"
#include "ldf/regex/RegexCharSetSymbolData.h"

////////////////////////////////////////////////////////////////////////////////
namespace GKC {
////////////////////////////////////////////////////////////////////////////////

// RegexCharSetSymbolData

BEGIN_COM_TYPECAST(RegexCharSetSymbolData)
COM_TYPECAST_ENTRY(_IGrammarSymbolData, _GrammarSymbolDataBase)
COM_TYPECAST_ENTRY(_I_RegexCharSetSymbolData_Utility, _I_RegexCharSetSymbolData_Utility)
END_COM_TYPECAST()

////////////////////////////////////////////////////////////////////////////////
}
////////////////////////////////////////////////////////////////////////////////
コード例 #14
0
This file contains global variables for Do-Rule-Right-Block action component.
*/

////////////////////////////////////////////////////////////////////////////////

#include "PreComp.h"

#include "_GkcCompiler.h"

#include "base/DataColl.h"
#include "base/Fsa.h"
#include "base/Lexer.h"

#include "ldf/gra/GraDef.h"
#include "ldf/gra/GraDoRuleRightBlockAction.h"

////////////////////////////////////////////////////////////////////////////////
namespace GKC {
////////////////////////////////////////////////////////////////////////////////

// GraDoRuleRightBlockAction

BEGIN_COM_TYPECAST(GraDoRuleRightBlockAction)
	COM_TYPECAST_ENTRY(_IGrammarAction, _IGrammarAction)
	COM_TYPECAST_ENTRY(_I_GraDataAction_Utility, _GraDataActionBase)
END_COM_TYPECAST()

////////////////////////////////////////////////////////////////////////////////
}
////////////////////////////////////////////////////////////////////////////////
コード例 #15
0
ファイル: WonDoCommonAction.cpp プロジェクト: ZJUGKC/GKC
*/

/*
This file contains global variables for Do-Common action component.
*/

////////////////////////////////////////////////////////////////////////////////

#include "PreComp.h"

#include "_GkcParser.h"

#include "won/base/WonDef.h"

#include "won/action/WonDoCommonAction.h"

////////////////////////////////////////////////////////////////////////////////
namespace GKC {
////////////////////////////////////////////////////////////////////////////////

// WonDoCommonAction

BEGIN_COM_TYPECAST(WonDoCommonAction)
	COM_TYPECAST_ENTRY(IGrammarAction, IGrammarAction)
	COM_TYPECAST_ENTRY(_IWonActionUtility, _WonActionBase)
END_COM_TYPECAST()

////////////////////////////////////////////////////////////////////////////////
}
////////////////////////////////////////////////////////////////////////////////