public void decode(Decoder decoder, PcodeFactory pfactory) throws DecoderException {
		syntax_type = DEFAULT_COLOR;
		for (;;) {
			int attribId = decoder.getNextAttributeId();
			if (attribId == 0) {
				break;
			}
			if (attribId == ATTRIB_COLOR.id()) {
				syntax_type = (int) decoder.readUnsignedInteger();
				break;
			}
		}
		text = decoder.readString(ATTRIB_CONTENT);
		if (syntax_type < 0 || syntax_type >= MAX_COLOR) {
			syntax_type = DEFAULT_COLOR;
		}
	}
Decode this token from the current position in an encoded stream
@param decoder is the decoder for the stream
@param pfactory is used to look up p-code objects associated with the token
@throws DecoderException for problems decoding the stream
Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/ClangToken.java