C# 클래스 at.jku.ssw.Coco.Tab

파일 보기 프로젝트 열기: boogie-org/boogie-partners 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
allSyncSets System.Collections.BitArray
classes System.Collections.ArrayList
ddt bool[]
dummyName int
eofSy Symbol
frameDir string
gramSy Symbol
ignored CharSet
literals System.Collections.Hashtable
nTyp string[]
noSym Symbol
nodes System.Collections.ArrayList
nonterminals System.Collections.ArrayList
nsName string
outDir string
pragmas System.Collections.ArrayList
semDeclPos Position
srcDir string
srcName string
terminals System.Collections.ArrayList

공개 메소드들

메소드 설명
AllNtReached ( ) : bool
AllNtToTerm ( ) : bool
CharClassSet ( int i ) : CharSet
CheckAlts ( Node p ) : void
CheckLL1 ( ) : void
CheckOverlap ( BitArray s1, BitArray s2, int cond ) : void
CheckRes ( Node p, bool rslvAllowed ) : void
CheckResolvers ( ) : void
CompAnySets ( ) : void
CompDeletableSymbols ( ) : void
CompFirstSets ( ) : void
CompFollow ( Node p ) : void
CompFollowSets ( ) : void
CompSymbolSets ( ) : void
CompSync ( Node p ) : void
CompSyncSets ( ) : void
Complete ( Symbol sym ) : void
DelGraph ( Node p ) : bool
DelNode ( Node p ) : bool
DelSubGraph ( Node p ) : bool
DeleteNodes ( ) : void
Escape ( string s ) : string
Expected ( Node p, Symbol curSy ) : BitArray
Expected0 ( Node p, Symbol curSy ) : BitArray
FindAS ( Node p ) : void
FindCharClass ( CharSet s ) : CharClass
FindCharClass ( string name ) : CharClass
FindSym ( string name ) : Symbol
Finish ( Graph g ) : void
First ( Node p ) : BitArray
GetSingles ( Node p, ArrayList singles ) : void
GrammarOk ( ) : bool
LL1Error ( int cond, Symbol sym ) : void
MakeAlternative ( Graph g1, Graph g2 ) : void
MakeFirstAlt ( Graph g ) : void
MakeIteration ( Graph g ) : void
MakeOption ( Graph g ) : void
MakeSequence ( Graph g1, Graph g2 ) : void
MarkReachedNts ( Node p ) : void
Name ( string name ) : string
NewCharClass ( string name, CharSet s ) : CharClass
NewNode ( int typ, Node sub ) : Node
NewNode ( int typ, Symbol sym, int line ) : Node
NewNode ( int typ, int val, int line ) : Node
NewSym ( int typ, string name, int line ) : Symbol
NoCircularProductions ( ) : bool
NtsComplete ( ) : bool
PrintNodes ( ) : void
PrintSet ( BitArray s, int indent ) : void
PrintSym ( Symbol sym ) : void
PrintSymbolTable ( ) : void
RenumberPragmas ( ) : void
ResErr ( Node p, string msg ) : void
SetContextTrans ( Node p ) : void
SetDDT ( string s ) : void
SetupAnys ( ) : void
StrToGraph ( string str ) : Graph
Tab ( Parser parser ) : System
Unescape ( string s ) : string
WriteCharClasses ( ) : void
WriteCharSet ( CharSet s ) : void
XRef ( ) : void

비공개 메소드들

메소드 설명
Ch ( int ch ) : string
Char2Hex ( char ch ) : string
First0 ( Node p, BitArray mark ) : BitArray
Hex2Char ( string s ) : char
IsTerm ( Node p, BitArray mark ) : bool
LeadingAny ( Node p ) : Node
Num ( Node p ) : int
Pos ( Position pos ) : string
Ptr ( Node p, bool up ) : string

메소드 상세

AllNtReached() 공개 메소드

public AllNtReached ( ) : bool
리턴 bool

AllNtToTerm() 공개 메소드

public AllNtToTerm ( ) : bool
리턴 bool

CharClassSet() 공개 메소드

public CharClassSet ( int i ) : CharSet
i int
리턴 CharSet

CheckAlts() 공개 메소드

public CheckAlts ( Node p ) : void
p Node
리턴 void

CheckLL1() 공개 메소드

public CheckLL1 ( ) : void
리턴 void

CheckOverlap() 공개 메소드

public CheckOverlap ( BitArray s1, BitArray s2, int cond ) : void
s1 System.Collections.BitArray
s2 System.Collections.BitArray
cond int
리턴 void

CheckRes() 공개 메소드

public CheckRes ( Node p, bool rslvAllowed ) : void
p Node
rslvAllowed bool
리턴 void

CheckResolvers() 공개 메소드

public CheckResolvers ( ) : void
리턴 void

CompAnySets() 공개 메소드

public CompAnySets ( ) : void
리턴 void

CompDeletableSymbols() 공개 메소드

public CompDeletableSymbols ( ) : void
리턴 void

CompFirstSets() 공개 메소드

public CompFirstSets ( ) : void
리턴 void

CompFollow() 공개 메소드

public CompFollow ( Node p ) : void
p Node
리턴 void

CompFollowSets() 공개 메소드

public CompFollowSets ( ) : void
리턴 void

CompSymbolSets() 공개 메소드

public CompSymbolSets ( ) : void
리턴 void

CompSync() 공개 메소드

public CompSync ( Node p ) : void
p Node
리턴 void

CompSyncSets() 공개 메소드

public CompSyncSets ( ) : void
리턴 void

Complete() 공개 메소드

public Complete ( Symbol sym ) : void
sym Symbol
리턴 void

DelGraph() 공개 정적인 메소드

public static DelGraph ( Node p ) : bool
p Node
리턴 bool

DelNode() 공개 정적인 메소드

public static DelNode ( Node p ) : bool
p Node
리턴 bool

DelSubGraph() 공개 정적인 메소드

public static DelSubGraph ( Node p ) : bool
p Node
리턴 bool

DeleteNodes() 공개 메소드

public DeleteNodes ( ) : void
리턴 void

Escape() 공개 메소드

public Escape ( string s ) : string
s string
리턴 string

Expected() 공개 메소드

public Expected ( Node p, Symbol curSy ) : BitArray
p Node
curSy Symbol
리턴 System.Collections.BitArray

Expected0() 공개 메소드

public Expected0 ( Node p, Symbol curSy ) : BitArray
p Node
curSy Symbol
리턴 System.Collections.BitArray

FindAS() 공개 메소드

public FindAS ( Node p ) : void
p Node
리턴 void

FindCharClass() 공개 메소드

public FindCharClass ( CharSet s ) : CharClass
s CharSet
리턴 CharClass

FindCharClass() 공개 메소드

public FindCharClass ( string name ) : CharClass
name string
리턴 CharClass

FindSym() 공개 메소드

public FindSym ( string name ) : Symbol
name string
리턴 Symbol

Finish() 공개 메소드

public Finish ( Graph g ) : void
g Graph
리턴 void

First() 공개 메소드

public First ( Node p ) : BitArray
p Node
리턴 System.Collections.BitArray

GetSingles() 공개 메소드

public GetSingles ( Node p, ArrayList singles ) : void
p Node
singles System.Collections.ArrayList
리턴 void

GrammarOk() 공개 메소드

public GrammarOk ( ) : bool
리턴 bool

LL1Error() 공개 메소드

public LL1Error ( int cond, Symbol sym ) : void
cond int
sym Symbol
리턴 void

MakeAlternative() 공개 메소드

public MakeAlternative ( Graph g1, Graph g2 ) : void
g1 Graph
g2 Graph
리턴 void

MakeFirstAlt() 공개 메소드

public MakeFirstAlt ( Graph g ) : void
g Graph
리턴 void

MakeIteration() 공개 메소드

public MakeIteration ( Graph g ) : void
g Graph
리턴 void

MakeOption() 공개 메소드

public MakeOption ( Graph g ) : void
g Graph
리턴 void

MakeSequence() 공개 메소드

public MakeSequence ( Graph g1, Graph g2 ) : void
g1 Graph
g2 Graph
리턴 void

MarkReachedNts() 공개 메소드

public MarkReachedNts ( Node p ) : void
p Node
리턴 void

Name() 공개 메소드

public Name ( string name ) : string
name string
리턴 string

NewCharClass() 공개 메소드

public NewCharClass ( string name, CharSet s ) : CharClass
name string
s CharSet
리턴 CharClass

NewNode() 공개 메소드

public NewNode ( int typ, Node sub ) : Node
typ int
sub Node
리턴 Node

NewNode() 공개 메소드

public NewNode ( int typ, Symbol sym, int line ) : Node
typ int
sym Symbol
line int
리턴 Node

NewNode() 공개 메소드

public NewNode ( int typ, int val, int line ) : Node
typ int
val int
line int
리턴 Node

NewSym() 공개 메소드

public NewSym ( int typ, string name, int line ) : Symbol
typ int
name string
line int
리턴 Symbol

NoCircularProductions() 공개 메소드

public NoCircularProductions ( ) : bool
리턴 bool

NtsComplete() 공개 메소드

public NtsComplete ( ) : bool
리턴 bool

PrintNodes() 공개 메소드

public PrintNodes ( ) : void
리턴 void

PrintSet() 공개 메소드

public PrintSet ( BitArray s, int indent ) : void
s System.Collections.BitArray
indent int
리턴 void

PrintSym() 공개 메소드

public PrintSym ( Symbol sym ) : void
sym Symbol
리턴 void

PrintSymbolTable() 공개 메소드

public PrintSymbolTable ( ) : void
리턴 void

RenumberPragmas() 공개 메소드

public RenumberPragmas ( ) : void
리턴 void

ResErr() 공개 메소드

public ResErr ( Node p, string msg ) : void
p Node
msg string
리턴 void

SetContextTrans() 공개 메소드

public SetContextTrans ( Node p ) : void
p Node
리턴 void

SetDDT() 공개 메소드

public SetDDT ( string s ) : void
s string
리턴 void

SetupAnys() 공개 메소드

public SetupAnys ( ) : void
리턴 void

StrToGraph() 공개 메소드

public StrToGraph ( string str ) : Graph
str string
리턴 Graph

Tab() 공개 메소드

public Tab ( Parser parser ) : System
parser Parser
리턴 System

Unescape() 공개 메소드

public Unescape ( string s ) : string
s string
리턴 string

WriteCharClasses() 공개 메소드

public WriteCharClasses ( ) : void
리턴 void

WriteCharSet() 공개 메소드

public WriteCharSet ( CharSet s ) : void
s CharSet
리턴 void

XRef() 공개 메소드

public XRef ( ) : void
리턴 void

프로퍼티 상세

allSyncSets 공개적으로 프로퍼티

public BitArray,System.Collections allSyncSets
리턴 System.Collections.BitArray

classes 공개적으로 프로퍼티

public ArrayList,System.Collections classes
리턴 System.Collections.ArrayList

ddt 공개적으로 프로퍼티

public bool[] ddt
리턴 bool[]

dummyName 공개적으로 프로퍼티

public int dummyName
리턴 int

eofSy 공개적으로 프로퍼티

public Symbol,at.jku.ssw.Coco eofSy
리턴 Symbol

frameDir 공개적으로 프로퍼티

public string frameDir
리턴 string

gramSy 공개적으로 프로퍼티

public Symbol,at.jku.ssw.Coco gramSy
리턴 Symbol

ignored 공개적으로 프로퍼티

public CharSet,at.jku.ssw.Coco ignored
리턴 CharSet

literals 공개적으로 프로퍼티

public Hashtable,System.Collections literals
리턴 System.Collections.Hashtable

nTyp 공개적으로 프로퍼티

public string[] nTyp
리턴 string[]

noSym 공개적으로 프로퍼티

public Symbol,at.jku.ssw.Coco noSym
리턴 Symbol

nodes 공개적으로 프로퍼티

public ArrayList,System.Collections nodes
리턴 System.Collections.ArrayList

nonterminals 공개적으로 프로퍼티

public ArrayList,System.Collections nonterminals
리턴 System.Collections.ArrayList

nsName 공개적으로 프로퍼티

public string nsName
리턴 string

outDir 공개적으로 프로퍼티

public string outDir
리턴 string

pragmas 공개적으로 프로퍼티

public ArrayList,System.Collections pragmas
리턴 System.Collections.ArrayList

semDeclPos 공개적으로 프로퍼티

public Position,at.jku.ssw.Coco semDeclPos
리턴 Position

srcDir 공개적으로 프로퍼티

public string srcDir
리턴 string

srcName 공개적으로 프로퍼티

public string srcName
리턴 string

terminals 공개적으로 프로퍼티

public ArrayList,System.Collections terminals
리턴 System.Collections.ArrayList