JSCL imported to C++
This commit is contained in:
23
jscl/src/main/java/jscl/text/UnsignedExponent.java
Normal file
23
jscl/src/main/java/jscl/text/UnsignedExponent.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package jscl.text;
|
||||
|
||||
import jscl.math.Generic;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
/**
|
||||
* User: serso
|
||||
* Date: 10/27/11
|
||||
* Time: 2:45 PM
|
||||
*/
|
||||
class UnsignedExponent implements Parser<Generic> {
|
||||
|
||||
public static final Parser<Generic> parser = new UnsignedExponent();
|
||||
|
||||
private UnsignedExponent() {
|
||||
}
|
||||
|
||||
public Generic parse(@Nonnull Parameters p, final Generic previousSumElement) throws ParseException {
|
||||
final Generic content = PrimaryExpressionParser.parser.parse(p, previousSumElement);
|
||||
return new PostfixFunctionsParser(content).parse(p, previousSumElement);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user