package org.panda_lang.panda.framework.language.interpreter.pattern.token.wildcard.reader.defaults;

import org.panda_lang.panda.framework.design.interpreter.token.Tokens;
import org.panda_lang.panda.framework.language.interpreter.pattern.token.extractor.TokenDistributor;
import org.panda_lang.panda.framework.language.interpreter.pattern.token.wildcard.reader.WildcardReader;

public class TypeReader implements WildcardReader {

    @Override
    public boolean match(String data) {
        return data.startsWith("type");
    }

    @Override
    public Tokens read(String data, TokenDistributor distributor) {
        return null;
    }

}

@@ -94,16 +94,217 @@
 aults;%0A%0A
+import org.jetbrains.annotations.Nullable;%0Aimport org.panda_lang.panda.framework.design.interpreter.token.TokenRepresentation;%0Aimport org.panda_lang.panda.framework.design.interpreter.token.TokenType;%0A
 import o
@@ -366,16 +366,16 @@
 Tokens;%0A
-
 import o
@@ -571,16 +571,94 @@
 dReader;
+%0Aimport org.panda_lang.panda.framework.language.interpreter.token.PandaTokens;
 %0A%0Apublic
@@ -830,16 +830,26 @@
  public 
+@Nullable 
 Tokens r
@@ -909,19 +909,190 @@
     
-return null
+TokenRepresentation type = distributor.next();%0A%0A        if (type.getToken().getType() != TokenType.UNKNOWN) %7B%0A            return null;%0A        %7D%0A%0A        return new PandaTokens(type)
 ;%0A  

Implement simple TypeReader