UnBCIC-TP2 / Oberon-Scala

An implementation of the Oberon language using Scala
55 stars 118 forks source link

Primitive syntactic elements - parser combinators grupo 2 #105

Closed Marcelojunqueiraf closed 2 years ago

Marcelojunqueiraf commented 2 years ago

Creates syntactic elements parser and respective unity testing

rbonifacio commented 2 years ago

There are some compilation problems in this PR. I would kindly ask you to fix these problems.

[error] /Users/rbonifacio/Documents/workspace-scala/Oberon-Scala/src/test/scala/br/unb/cic/oberon/parser/ParserCombinatorTest.scala:10:7: class ParserCombinatorTestSuite needs to be abstract.
[error] Missing implementations for 2 members. Stub implementations follow:
[error]   def argumentsParser: br.unb.cic.oberon.parser.ParserCombinatorTestSuite#Parser[List[br.unb.cic.oberon.ast.Expression]] = ???
[error]   def qualifiedNameParser: br.unb.cic.oberon.parser.ParserCombinatorTestSuite#Parser[br.unb.cic.oberon.ast.Expression] = ???
[error] class ParserCombinatorTestSuite extends AnyFunSuite with Oberon2ScalaParser {
[error]       ^
[error] one error found
[error] (Test / compileIncremental) Compilation failed
[error] Total time: 11 s, completed 31/03/2022 08:23:25