public List<VariableAppearance> getAppearances(ParsingContext context) {
		List<VariableAppearance> result = new ArrayList<VariableAppearance>();
		for (PatternGroupStructure pattern : patterns) {
			Matcher matcher = pattern.getPattern().matcher(context.getContent());
			while (matcher.find()) {
				String variableName = matcher.group(pattern.getNameGroup());
				String appearancePattern = matcher.group(pattern.getAppearanceGroup());
				result.add(new VariableAppearance(appearancePattern, variableName, globalContext, context, ""));
				if (twoScansAnalyzer && !detectedVariableNames.contains(variableName)) {
					detectedVariableNames.add(variableName);
				}
			}			
		}
		return result;
	}