|
|
|
dispose ()
|
Destroy / Shutdown / Anti-Initializer
Notes :
*/
|
|
|
|
CHARACTER GetVersion ()
|
Returns the Version of the pure-ABL Proparse engine
Notes :
@return Version
*/
|
|
|
|
initialize ()
|
Initializer / Startup
Notes : Warms the shared keyword / token-type tables and, when
ResolveSchema is set, loads the connected-database schema once.
A missing / unreadable schema never fails initialization.
*/
|
|
|
|
LOGICAL IsKeywordType (NodeTypesEnum)
|
Returns whether the given node type represents an ABL keyword
Notes : Backed by the pure-ABL ProparseKeywords table (mirrors the Java
NodeTypes:isKeywordType the .NET engine passes through to).
@param poType The NodeTypesEnum member to check
@return Logical value indicating if the node type represents an ABL keyword
*/
|
|
|
|
CHARACTER OpenEdgeCodepageName (character)
|
Translates a Java charset name to the OpenEdge code page name
Notes : Covers the charsets the reference engine accepts for its
ProparseCodepage setting (see Consultingwerk.Codepages
IsKnownJavaCodepage): the ISO-8859-n family, UTF-8 / UTF-16,
the windows-125n / cp125n names and the IBM / cp / plain
number OEM code pages. A name OpenEdge knows as it is passes
through; anything else yields the empty string (no
conversion) (SCL-5773).
@param pcJavaName The Java charset name
@return The OpenEdge code page name, or the empty string
*/
|
|
|
|
Consultingwerk.Studio.ProparseApi.IParseUnit ParseFile (character)
|
Parses a file and returns the Parse Unit
Notes : Reads the source (resolved on the PROPATH), frames it into the
record AST and runs the symbol resolution over it.
@param pcFileName The name of the file to parse
@return The reference to the IParseUnit instance
*/
|
|
|
|
LONGCHAR ReadSource (character)
|
Reads a source file (resolved on the PROPATH) into a longchar
Notes : Falls back to the name as given when it does not resolve on the
PROPATH; a genuinely missing (or unreadable) file raises a
ParsingException naming the file (SCL-5648)
@param pcFileName The source file name
@return The source content
*/
|
|
|
|
CHARACTER SourceCodepage ()
|
Returns the OpenEdge code page the sources are read in
Notes : The ProparseCodepage configuration value (.applicationsettings)
names a Java charset, as the reference engine reads it; the
value is translated to the OpenEdge code page name once. An
empty or unknown value means the session's -cpstream (SCL-5773).
@return The OpenEdge code page name, or the empty string
*/
|