Namespace: Consultingwerk.Studio
Class 
CaseStatementParser Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:CaseStatementParser
Purpose:A Parser for CASE Statements
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Mon Jan 28 10:10:57 CET 2013
Notes:Currently the Parser does not support WHEN ... OR WHEN ... style
of options.



Top Method Summary
Options Name Purpose
org.prorefactor.core.JPNode GetEndCaseNode () Returns the reference to the JPNode representing the END or END CASE Statement
Consultingwerk.Studio.ListCaseWhen GetListCaseWhen () Returns the List of the CaseWhen optins for the CASE Statement
org.prorefactor.core.JPNode GetOtherwiseNode () Returns the reference to the JPNode representing the OTHERWISE keyword *
ParseWhenBlock (JPNode, ListCaseWhen) Parses a WHEN option of a CASE Statement

Top Constructor Summary
Options Name Purpose
CaseStatementParser (JPNode) Constructor for the CaseStatementParser class


Method Detail
Top

org.prorefactor.core.JPNode GetEndCaseNode ()

Purpose: Returns the reference to the JPNode representing the END or END CASE
Statement
Notes:

Returns org.prorefactor.core.JPNode
The reference to the JPNode representing the END or END CASE Statement
Top

Consultingwerk.Studio.ListCaseWhen GetListCaseWhen ()

Purpose: Returns the List of the CaseWhen optins for the CASE Statement
Notes:

Returns Consultingwerk.Studio.ListCaseWhen
The List of the CaseWhen options of the CASE Statement
Top

org.prorefactor.core.JPNode GetOtherwiseNode ()

Purpose: Returns the reference to the JPNode representing the OTHERWISE keyword
Notes:

Returns org.prorefactor.core.JPNode
The reference to the JPNode representing the OTHERWISE keyword
Top

ParseWhenBlock (JPNode, ListCaseWhen)

Purpose: Parses a WHEN option of a CASE Statement
Notes: Removes quotes from the Expression following the WHEN keyword

Parameters:
poWhenNode org.prorefactor.core.JPNode
The JPNode representing the WHEN key word
poList Consultingwerk.Studio.ListCaseWhen
The List of CaseWhen options


Constructor Detail
Top

CaseStatementParser (JPNode)

Purpose: Constructor for the CaseStatementParser class
Notes:

Parameters:
poNode org.prorefactor.core.JPNode
The reference to the JPNode to parse


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:29:26