C# 클래스 CFGLib.CFGParser

This class helps turn strings into grammars.
파일 보기 프로젝트 열기: ellisonch/CFGLib

Private Properties

프로퍼티 타입 설명
InitRegex void

공개 메소드들

메소드 설명
Production ( string s ) : Production

Turns a string like <X> -> <X> 'a' <X> into a production. Nonterminals must be surrounded by angled brackets, terminals must be surrounded by single quotes, and everything must be separated by spaces.

비공개 메소드들

메소드 설명
InitRegex ( ) : void

메소드 상세

Production() 공개 정적인 메소드

Turns a string like <X> -> <X> 'a' <X> into a production. Nonterminals must be surrounded by angled brackets, terminals must be surrounded by single quotes, and everything must be separated by spaces.
public static Production ( string s ) : Production
s string
리턴 Production