Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
sarah.grebing
ProofScriptParser
Commits
588a76d2
Commit
588a76d2
authored
Apr 28, 2017
by
Alexander Weigl
Browse files
add a facade
parent
0c920dff
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/edu/kit/formatl/proofscriptparser/Facade.java
0 → 100644
View file @
588a76d2
package
edu.kit.formatl.proofscriptparser
;
import
edu.kit.formal.proofscriptparser.ScriptLanguageLexer
;
import
edu.kit.formal.proofscriptparser.ScriptLanguageParser
;
import
edu.kit.formatl.proofscriptparser.ast.ProofScript
;
import
org.antlr.v4.runtime.*
;
/**
* @author Alexander Weigl
* @version 1 (27.04.17)
*/
public
class
Facade
{
public
ScriptLanguageParser
.
StartContext
parseStream
(
CharStream
stream
)
{
ScriptLanguageParser
slp
=
new
ScriptLanguageParser
(
new
CommonTokenStream
(
new
ScriptLanguageLexer
(
stream
)));
return
slp
.
start
();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment