EnsLib.EDI.SEF.Util.Scanner

class EnsLib.EDI.SEF.Util.Scanner extends EnsLib.EDI.SEF.Util.TokenClassifier

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
6 10

Summary

Properties
CurrentChar CurrentToken Index LexemeBegin Source
SourceLen
Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
BeginLexeme Classify DisplayContext EndLexeme
Initialize NextToken PeekNextChar PeekNextNextChar
PeekNextNextToken PeekNextToken SkipWhitespace
Subclasses
EnsLib.EDI.EDIFACT.Scanner EnsLib.EDI.SEF.Scanner EnsLib.EDI.X12.Scanner

Properties

property CurrentChar as %String;
This holds the current character
property CurrentToken as %Integer;
This holds the current token
property Index as %Integer;
This holds the current index into the source
property LexemeBegin as %Integer;
This holds the beggining of a lexeme
property Source as %CacheString;
This holds the source to be scanner
property SourceLen as %Integer;
This holds the source length

Methods

method BeginLexeme()
This marks the beggining of a lexeme
method DisplayContext() as %String
Return a string which displays the current context
method EndLexeme() as %String
This marks the end of a lexeme and returns it
method Initialize(initvalue) as %Status
method NextToken() as %Integer
This advances the scanner by one token
method PeekNextChar() as %String
This peeks at the char without making it current
method PeekNextNextChar() as %String
This peeks at the one after next char without making it current
method PeekNextNextToken() as %Integer
This peeks at the one after next token without making it current
method PeekNextToken() as %Integer
This peeks at the next token without making it current
method SkipWhitespace() as %Integer
This skips spaces and tabs returning the next token found
Copyright © 1997-2020 InterSystems Corporation, Cambridge, MA